Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 101.8 kB / 16.5 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.33 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 58.07 MB / 456.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.008085/0.1355, allocations: 4.721 MB / 460.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1377, allocations: 1.087 MB / 462 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.138, allocations: 27.81 kB / 462 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1383, allocations: 35.7 kB / 462 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.139, allocations: 167.2 kB / 462.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1392, allocations: 75.92 kB / 462.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.1398, allocations: 0.5217 MB / 462.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.1401, allocations: 105.7 kB / 462.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1404, allocations: 151.2 kB / 463 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1407, allocations: 191.3 kB / 463.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.1408, allocations: 12 kB / 463.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.1408, allocations: 15.94 kB / 463.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1409, allocations: 91.72 kB / 463.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1411, allocations: 135.2 kB / 463.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1413, allocations: 271 kB / 463.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.1414, allocations: 0 / 463.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1414, allocations: 3.938 kB / 463.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1414, allocations: 0 / 463.7 MB, free: 0.8945 MB / 334.1 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.0009905/0.1424, allocations: 0.5971 MB / 464.3 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1424, allocations: 12.03 kB / 464.3 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.1425, allocations: 28.56 kB / 464.4 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.143, allocations: 326.9 kB / 464.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.143, allocations: 28.55 kB / 464.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.143, allocations: 16 kB / 464.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.1435, allocations: 294.8 kB / 465 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1435, allocations: 0 / 465 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.1435, allocations: 8 kB / 465 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1436, allocations: 4 kB / 465 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1439, allocations: 184.9 kB / 465.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1452, allocations: 1.232 MB / 466.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1455, allocations: 105.2 kB / 466.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.1456, allocations: 45.7 kB / 466.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1457, allocations: 8 kB / 466.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1457, allocations: 30.56 kB / 466.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1457, allocations: 0 / 466.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008265/0.1465, allocations: 488.9 kB / 467.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1466, allocations: 81.05 kB / 467.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1468, allocations: 255 kB / 467.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1469, allocations: 25.7 kB / 467.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.147, allocations: 199.6 kB / 467.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.147, allocations: 35.45 kB / 467.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.1471, allocations: 45.61 kB / 467.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1472, allocations: 342.8 kB / 468.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.1473, allocations: 27.98 kB / 468.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1474, allocations: 136.9 kB / 468.2 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1477, allocations: 188.6 kB / 468.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1477, allocations: 4 kB / 468.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002962/0.148, allocations: 213.1 kB / 468.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.148, allocations: 4 kB / 468.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.148, allocations: 4 kB / 468.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.148, allocations: 4 kB / 468.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1482, allocations: 43.92 kB / 468.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1482, allocations: 7.938 kB / 468.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1483, allocations: 15.92 kB / 468.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1484, allocations: 8.344 kB / 468.7 MB, free: 11.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.1485, allocations: 157.7 kB / 468.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.1486, allocations: 27.72 kB / 468.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1488, allocations: 123.4 kB / 469 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1488, allocations: 4 kB / 469 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1488, allocations: 0 / 469 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1488, allocations: 3.938 kB / 469 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1494, allocations: 487.2 kB / 469.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1494, allocations: 0 / 469.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.1495, allocations: 23.98 kB / 469.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1495, allocations: 3.938 kB / 469.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1495, allocations: 8.031 kB / 469.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1495, allocations: 7.938 kB / 469.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1495, allocations: 0 / 469.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1499, allocations: 281 kB / 469.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.1499, allocations: 96.86 kB / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.15, allocations: 7.938 kB / 469.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1501, allocations: 4 kB / 469.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.1501, allocations: 11.92 kB / 469.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.1501, allocations: 0 / 469.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1503, allocations: 178 kB / 470.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.1503, allocations: 0 / 470.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1506, allocations: 52 kB / 470.2 MB, free: 9.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.1507, allocations: 95.23 kB / 470.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.151, allocations: 107.8 kB / 470.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.151, allocations: 0 / 470.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.1511, allocations: 48.8 kB / 470.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.1515, allocations: 52.64 kB / 470.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.1525, allocations: 0.6357 MB / 471.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1528, allocations: 0.7716 MB / 471.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.153, allocations: 38.27 kB / 471.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.153, allocations: 23.44 kB / 471.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.153, allocations: 0 / 471.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of Templates: time 0.004808/0.1578, allocations: 1.913 MB / 473.8 MB, free: 6.172 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)