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: "" <> 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/Complex 3.2.2+maint.om/package.mo): time 0.001759/0.001759, allocations: 179.6 kB / 8.352 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.813/1.813, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001733/0.001733, allocations: 113.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2033/0.2033, allocations: 37.94 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.36e-05, allocations: 0 / 390.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 53.23 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4236, allocations: 96.41 MB / 0.5274 GB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.424, allocations: 91.94 kB / 0.5275 GB, free: 1.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3199/0.7439, allocations: 13.59 MB / 0.5408 GB, free: 88.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.744, allocations: 0 / 0.5408 GB, free: 88.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.744, allocations: 7.75 kB / 0.5408 GB, free: 88.54 MB / 378.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.001284/0.7453, allocations: 0.7153 MB / 0.5415 GB, free: 87.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7453, allocations: 11.47 kB / 0.5415 GB, free: 87.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.7459, allocations: 96.45 kB / 0.5416 GB, free: 87.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.748, allocations: 0.9277 MB / 0.5425 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.748, allocations: 12 kB / 0.5425 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.7481, allocations: 28 kB / 0.5426 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005863/0.7487, allocations: 434.3 kB / 0.543 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.7494, allocations: 0.6147 MB / 0.5436 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.7494, allocations: 3.906 kB / 0.5436 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.7495, allocations: 4 kB / 0.5436 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.7495, allocations: 32.77 kB / 0.5436 GB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.7525, allocations: 2.939 MB / 0.5465 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.753, allocations: 317.6 kB / 0.5468 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.7532, allocations: 190 kB / 0.547 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.7532, allocations: 7.828 kB / 0.547 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7533, allocations: 38.83 kB / 0.547 GB, free: 82.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.417e-06/0.7533, allocations: 4 kB / 0.547 GB, free: 82.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001711/0.755, allocations: 1.112 MB / 0.5481 GB, free: 80.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.755, allocations: 81.11 kB / 0.5482 GB, free: 80.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.7554, allocations: 318.2 kB / 0.5485 GB, free: 80.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.7554, allocations: 25.7 kB / 0.5485 GB, free: 80.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.7556, allocations: 287.4 kB / 0.5488 GB, free: 80.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.7556, allocations: 130.1 kB / 0.5489 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.7557, allocations: 4.031 kB / 0.5489 GB, free: 80.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.7558, allocations: 350.8 kB / 0.5492 GB, free: 79.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.756, allocations: 193 kB / 0.5494 GB, free: 79.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.7563, allocations: 357.9 kB / 0.5498 GB, free: 79.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.7566, allocations: 265 kB / 0.55 GB, free: 78.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7566, allocations: 4 kB / 0.55 GB, free: 78.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001752/0.7584, allocations: 0.797 MB / 0.5508 GB, free: 78.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.7584, allocations: 8 kB / 0.5508 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.7584, allocations: 4 kB / 0.5508 GB, free: 78.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.7599, allocations: 297.4 kB / 0.5511 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.7606, allocations: 139.8 kB / 0.5512 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.7644, allocations: 3.62 MB / 0.5548 GB, free: 73.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.7648, allocations: 19.97 kB / 0.5548 GB, free: 73.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.7649, allocations: 20 kB / 0.5548 GB, free: 73.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.765, allocations: 128.8 kB / 0.5549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005936/0.7656, allocations: 440.7 kB / 0.5553 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.7657, allocations: 43.48 kB / 0.5554 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.7664, allocations: 0.4976 MB / 0.5559 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7664, allocations: 12.28 kB / 0.5559 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.7664, allocations: 3.984 kB / 0.5559 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.7664, allocations: 8 kB / 0.5559 GB, free: 72.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.7677, allocations: 0.9959 MB / 0.5569 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.7678, allocations: 3.984 kB / 0.5569 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.7682, allocations: 87.88 kB / 0.557 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7682, allocations: 8.062 kB / 0.557 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.7682, allocations: 8 kB / 0.557 GB, free: 71.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7683, allocations: 4 kB / 0.557 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7683, allocations: 0 / 0.557 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.7691, allocations: 0.8435 MB / 0.5578 GB, free: 70.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.7692, allocations: 116.7 kB / 0.5579 GB, free: 70.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.7693, allocations: 4 kB / 0.5579 GB, free: 70.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.7695, allocations: 15.97 kB / 0.5579 GB, free: 70.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.7696, allocations: 27.92 kB / 0.558 GB, free: 70.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.7696, allocations: 12 kB / 0.558 GB, free: 70.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.7698, allocations: 240.6 kB / 0.5582 GB, free: 70.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7699, allocations: 4 kB / 0.5582 GB, free: 70.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005771/0.7704, allocations: 120 kB / 0.5583 GB, free: 70.03 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.00114/0.7716, allocations: 1.603 MB / 0.5599 GB, free: 68.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.7729, allocations: 0.785 MB / 0.5606 GB, free: 67.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7729, allocations: 0 / 0.5606 GB, free: 67.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.7731, allocations: 225 kB / 0.5609 GB, free: 67.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.7736, allocations: 74.53 kB / 0.5609 GB, free: 67.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.7755, allocations: 1.16 MB / 0.5621 GB, free: 66.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.7758, allocations: 0.9094 MB / 0.563 GB, free: 65.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.7762, allocations: 139.2 kB / 0.5631 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7764, allocations: 167.4 kB / 0.5632 GB, free: 64.84 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7764, allocations: 0 / 0.5632 GB, free: 64.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.8056, allocations: 9.601 MB / 0.5726 GB, free: 55.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.8058, allocations: 127.8 kB / 0.5727 GB, free: 55.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.995, allocations: 4 kB / 0.5727 GB, free: 55.04 MB / 378.7 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/linux/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)