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/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.0016, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001551/0.001551, allocations: 197.3 kB / 18.01 MB, free: 5.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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1751/0.1751, allocations: 38.04 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 58.07 MB / 0.5036 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004703/0.3301, allocations: 4.487 MB / 0.508 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3321, allocations: 1.52 MB / 0.5095 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3322, allocations: 16.66 kB / 0.5095 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.333, allocations: 288.8 kB / 0.5098 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.3335, allocations: 265.3 kB / 0.51 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3341, allocations: 255.6 kB / 0.5103 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.3347, allocations: 0.6431 MB / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.3351, allocations: 288.3 kB / 0.5112 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.3354, allocations: 283.5 kB / 0.5114 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.336, allocations: 387.9 kB / 0.5118 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.3361, allocations: 45.28 kB / 0.5119 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.3364, allocations: 144.7 kB / 0.512 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.3366, allocations: 244 kB / 0.5122 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3369, allocations: 280.8 kB / 0.5125 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.3378, allocations: 0.6603 MB / 0.5131 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3378, allocations: 0 / 0.5131 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3378, allocations: 1.5 kB / 0.5131 GB, free: 1.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3378, allocations: 0 / 0.5131 GB, free: 1.723 MB / 382.1 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.001834/0.3396, allocations: 0.8884 MB / 0.514 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3397, allocations: 15.08 kB / 0.514 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.638e-05/0.3398, allocations: 86.45 kB / 0.5141 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.3403, allocations: 93.3 kB / 0.5142 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.3412, allocations: 0.502 MB / 0.5147 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3412, allocations: 31.09 kB / 0.5147 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3413, allocations: 56.64 kB / 0.5148 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.3422, allocations: 0.6835 MB / 0.5154 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3423, allocations: 6.219 kB / 0.5154 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.3423, allocations: 21.75 kB / 0.5155 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3424, allocations: 37.45 kB / 0.5155 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.3433, allocations: 0.5277 MB / 0.516 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.3472, allocations: 3.101 MB / 0.519 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.3478, allocations: 322.4 kB / 0.5194 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3481, allocations: 185.6 kB / 0.5195 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.3482, allocations: 5.578 kB / 0.5195 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3482, allocations: 44.69 kB / 0.5196 GB, free: 13.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.3482, allocations: 0 / 0.5196 GB, free: 13.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002103/0.3503, allocations: 1.222 MB / 0.5208 GB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.3504, allocations: 85.06 kB / 0.5209 GB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.3509, allocations: 395.2 kB / 0.5212 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3509, allocations: 30.77 kB / 0.5213 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.3512, allocations: 308.8 kB / 0.5216 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3513, allocations: 120.6 kB / 0.5217 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3515, allocations: 103.8 kB / 0.5218 GB, free: 12.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3517, allocations: 359.7 kB / 0.5221 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.352, allocations: 192.1 kB / 0.5223 GB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.3524, allocations: 384.8 kB / 0.5227 GB, free: 11.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.3532, allocations: 0.5943 MB / 0.5232 GB, free: 10.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3532, allocations: 1.375 kB / 0.5232 GB, free: 10.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001855/0.3551, allocations: 0.834 MB / 0.5241 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3551, allocations: 8.156 kB / 0.5241 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3551, allocations: 10.95 kB / 0.5241 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.3564, allocations: 263.7 kB / 0.5243 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.357, allocations: 134.9 kB / 0.5245 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.3624, allocations: 4.046 MB / 0.5284 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.3628, allocations: 31.05 kB / 0.5284 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.3629, allocations: 26.59 kB / 0.5285 GB, free: 7.34 MB / 398.1 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.0003996/0.3633, allocations: 222.6 kB / 0.5287 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3635, allocations: 43.23 kB / 0.5287 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009516/0.3644, allocations: 488.1 kB / 0.5292 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3644, allocations: 7.531 kB / 0.5292 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3644, allocations: 1.219 kB / 0.5292 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3645, allocations: 2.531 kB / 0.5292 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.3662, allocations: 1.016 MB / 0.5302 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3662, allocations: 6.109 kB / 0.5302 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.3666, allocations: 83.67 kB / 0.5303 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3667, allocations: 10.97 kB / 0.5303 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.3667, allocations: 13.45 kB / 0.5303 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3667, allocations: 3.062 kB / 0.5303 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3667, allocations: 6.625 kB / 0.5303 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3677, allocations: 0.741 MB / 0.531 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3678, allocations: 118.9 kB / 0.5311 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.3679, allocations: 11.23 kB / 0.5312 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3681, allocations: 19.17 kB / 0.5312 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.3682, allocations: 23.25 kB / 0.5312 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3683, allocations: 15.52 kB / 0.5312 GB, free: 5.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.3686, allocations: 267.4 kB / 0.5315 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3686, allocations: 1.219 kB / 0.5315 GB, free: 5.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005745/0.3692, allocations: 121.3 kB / 0.5316 GB, free: 5.703 MB / 398.1 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.001487/0.3707, allocations: 1.296 MB / 0.5328 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3723, allocations: 0.7995 MB / 0.5336 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3723, allocations: 5.25 kB / 0.5336 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.3726, allocations: 198.6 kB / 0.5338 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.3732, allocations: 83.88 kB / 0.5339 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009196/0.3824, allocations: 5.331 MB / 0.5391 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.383, allocations: 0.9003 MB / 0.54 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003683/0.3834, allocations: 133.2 kB / 0.5401 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.3837, allocations: 173.1 kB / 0.5403 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3837, allocations: 0 / 0.5403 GB, free: 15.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.4232, allocations: 10.63 MB / 0.5507 GB, free: 7.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.76, allocations: 3.875 kB / 0.5507 GB, free: 7.23 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)