Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002098/0.002097, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 82.64 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2827/0.2827, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.597e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/0.6596, allocations: 93.18 MB / 0.5463 GB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6599, allocations: 88.89 kB / 0.5463 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02638/0.6863, allocations: 6.406 MB / 0.5526 GB, free: 8.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6864, allocations: 0 / 0.5526 GB, free: 8.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.6864, allocations: 11.66 kB / 0.5526 GB, free: 8.445 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001006/0.6874, allocations: 0.5262 MB / 0.5531 GB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.6875, allocations: 11.69 kB / 0.5531 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.258e-05/0.6876, allocations: 31.27 kB / 0.5532 GB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.6897, allocations: 0.6564 MB / 0.5538 GB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.6898, allocations: 7.531 kB / 0.5538 GB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.69, allocations: 30.64 kB / 0.5538 GB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004699/0.6905, allocations: 160.1 kB / 0.554 GB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.6909, allocations: 254.8 kB / 0.5542 GB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.691, allocations: 7.703 kB / 0.5542 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.691, allocations: 0 / 0.5542 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.691, allocations: 3.906 kB / 0.5542 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.6928, allocations: 1.233 MB / 0.5555 GB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.6932, allocations: 119.2 kB / 0.5556 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.6933, allocations: 47.06 kB / 0.5556 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.6933, allocations: 3.125 kB / 0.5556 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6934, allocations: 42.3 kB / 0.5557 GB, free: 6.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.6934, allocations: 0 / 0.5557 GB, free: 6.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001034/0.6944, allocations: 492.1 kB / 0.5561 GB, free: 5.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6945, allocations: 110.7 kB / 0.5562 GB, free: 5.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6947, allocations: 204.2 kB / 0.5564 GB, free: 5.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6947, allocations: 25.7 kB / 0.5564 GB, free: 5.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.6948, allocations: 243.1 kB / 0.5567 GB, free: 5.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.6949, allocations: 41.89 kB / 0.5567 GB, free: 5.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.6949, allocations: 0 / 0.5567 GB, free: 5.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.695, allocations: 322 kB / 0.557 GB, free: 5.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.6951, allocations: 36.72 kB / 0.5571 GB, free: 5.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6952, allocations: 119.3 kB / 0.5572 GB, free: 4.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6954, allocations: 57.25 kB / 0.5572 GB, free: 4.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6954, allocations: 0 / 0.5572 GB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004903/0.6959, allocations: 195.2 kB / 0.5574 GB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6959, allocations: 3.875 kB / 0.5574 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6959, allocations: 3.875 kB / 0.5574 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.6961, allocations: 35.58 kB / 0.5575 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.6968, allocations: 69.38 kB / 0.5575 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6968, allocations: 3.969 kB / 0.5575 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.697, allocations: 7.812 kB / 0.5575 GB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.6971, allocations: 11.19 kB / 0.5575 GB, free: 4.762 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/0.6972, allocations: 108.8 kB / 0.5576 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.6972, allocations: 23.41 kB / 0.5577 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.6976, allocations: 149.1 kB / 0.5578 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6977, allocations: 96 / 0.5578 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6977, allocations: 15.69 kB / 0.5578 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6977, allocations: 0 / 0.5578 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.6981, allocations: 247.7 kB / 0.5581 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6981, allocations: 4 kB / 0.5581 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.6984, allocations: 34.05 kB / 0.5581 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.6985, allocations: 0 / 0.5581 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.6985, allocations: 0 / 0.5581 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6985, allocations: 3.875 kB / 0.5581 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6985, allocations: 4 kB / 0.5581 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.699, allocations: 381 kB / 0.5585 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.699, allocations: 100.5 kB / 0.5586 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.6991, allocations: 0 / 0.5586 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.6993, allocations: 12 kB / 0.5586 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.6994, allocations: 7.688 kB / 0.5586 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.6994, allocations: 7.734 kB / 0.5586 GB, free: 3.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.6996, allocations: 156.6 kB / 0.5587 GB, free: 3.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6996, allocations: 3.938 kB / 0.5587 GB, free: 3.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.7001, allocations: 42.09 kB / 0.5588 GB, free: 3.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.7002, allocations: 101.3 kB / 0.5589 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.7007, allocations: 211.5 kB / 0.5591 GB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7007, allocations: 0 / 0.5591 GB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.7008, allocations: 48.75 kB / 0.5591 GB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.7014, allocations: 45.47 kB / 0.5592 GB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.7024, allocations: 454.2 kB / 0.5596 GB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.7027, allocations: 0.7779 MB / 0.5604 GB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.7028, allocations: 26.67 kB / 0.5604 GB, free: 2.559 MB / 362.7 MB Notification: Performance of SimCode: time 2.545e-06/0.7028, allocations: 0 / 0.5604 GB, free: 2.559 MB / 362.7 MB Notification: Performance of Templates: time 0.00713/0.7099, allocations: 3.41 MB / 0.5637 GB, free: 8 kB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)