Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001155/0.001155, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.214/1.214, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 126.9 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1668/0.1668, allocations: 37.94 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08455, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004853/0.08944, allocations: 5.122 MB / 459.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.09153, allocations: 1.769 MB / 460.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.09177, allocations: 27.81 kB / 460.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.09248, allocations: 267 kB / 461.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.09288, allocations: 235 kB / 461.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.09337, allocations: 235.6 kB / 461.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.09395, allocations: 0.8887 MB / 462.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.09436, allocations: 281.1 kB / 462.8 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.09461, allocations: 246.9 kB / 463 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.09505, allocations: 402.7 kB / 463.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.09512, allocations: 24 kB / 463.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.09537, allocations: 147.7 kB / 463.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.09554, allocations: 227.4 kB / 463.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.09575, allocations: 258.6 kB / 464.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.09622, allocations: 0.6424 MB / 464.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.09623, allocations: 4 kB / 464.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09624, allocations: 4 kB / 464.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.09625, allocations: 0 / 464.7 MB, free: 5.793 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001669/0.09793, allocations: 0.8712 MB / 465.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.09798, allocations: 11.97 kB / 465.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.09854, allocations: 88.22 kB / 465.7 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.09947, allocations: 487.8 kB / 466.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.09951, allocations: 33.38 kB / 466.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.09965, allocations: 55.83 kB / 466.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.1004, allocations: 0.6879 MB / 466.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1004, allocations: 7.938 kB / 466.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1005, allocations: 16 kB / 467 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.124e-05/0.1006, allocations: 32.98 kB / 467 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.1012, allocations: 0.5228 MB / 467.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.1042, allocations: 3.117 MB / 470.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.1048, allocations: 321.3 kB / 470.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.105, allocations: 169.7 kB / 471.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1051, allocations: 11.98 kB / 471.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1051, allocations: 38.56 kB / 471.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.1051, allocations: 0 / 471.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001821/0.1069, allocations: 1.205 MB / 472.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.107, allocations: 81.11 kB / 472.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.1074, allocations: 393.5 kB / 472.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.1074, allocations: 29.7 kB / 472.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1076, allocations: 303.3 kB / 473.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1077, allocations: 122.3 kB / 473.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1079, allocations: 98.14 kB / 473.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.108, allocations: 358.7 kB / 473.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1083, allocations: 185 kB / 473.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.1087, allocations: 385.5 kB / 474.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.1094, allocations: 0.6125 MB / 474.9 MB, free: 11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1094, allocations: 4 kB / 474.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001755/0.1112, allocations: 0.834 MB / 475.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1112, allocations: 8 kB / 475.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1113, allocations: 8 kB / 475.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.1125, allocations: 265.7 kB / 476 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.1131, allocations: 139.8 kB / 476.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.1174, allocations: 3.745 MB / 479.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.1178, allocations: 31.97 kB / 479.9 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1178, allocations: 24 kB / 479.9 MB, free: 5.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.1181, allocations: 221.5 kB / 480.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.1182, allocations: 35.53 kB / 480.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.119, allocations: 493.2 kB / 480.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.119, allocations: 4 kB / 480.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.119, allocations: 3.984 kB / 480.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.119, allocations: 4 kB / 480.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1205, allocations: 1.011 MB / 481.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1205, allocations: 64 / 481.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.1209, allocations: 91.88 kB / 481.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1209, allocations: 4 kB / 481.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.121, allocations: 8 kB / 481.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.121, allocations: 4 kB / 481.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.121, allocations: 0 / 481.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/0.1272, allocations: 4.03 MB / 485.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1274, allocations: 120.5 kB / 485.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.1274, allocations: 19.94 kB / 486 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.1277, allocations: 15.98 kB / 486 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1277, allocations: 23.97 kB / 486 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.1278, allocations: 11.98 kB / 486 MB, free: 15.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.128, allocations: 271.1 kB / 486.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1281, allocations: 0 / 486.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.1287, allocations: 168 kB / 486.4 MB, free: 14.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001317/0.1289, allocations: 111.2 kB / 486.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1304, allocations: 0.8022 MB / 487.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1304, allocations: 0 / 487.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.1307, allocations: 195.8 kB / 487.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1312, allocations: 94.47 kB / 487.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1349, allocations: 1.916 MB / 489.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1354, allocations: 0.9057 MB / 490.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004286/0.1358, allocations: 151.3 kB / 490.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.136, allocations: 43.42 kB / 490.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.136, allocations: 0 / 490.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of Templates: time 0.01186/0.1479, allocations: 7.766 MB / 498.4 MB, free: 2.785 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)