Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",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.001697/0.001698, allocations: 180.3 kB / 8.353 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.8/1.8, 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.001742/0.001742, allocations: 123.9 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.94 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.041e-05, allocations: 0 / 390.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 53.22 MB / 443.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.3766, allocations: 93.67 MB / 0.5248 GB, free: 3.945 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3769, allocations: 79.95 kB / 0.5248 GB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2666/0.6434, allocations: 19.12 MB / 0.5435 GB, free: 85.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6435, allocations: 0 / 0.5435 GB, free: 85.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.314e-05/0.6435, allocations: 16 kB / 0.5435 GB, free: 85.68 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001496/0.645, allocations: 0.9044 MB / 0.5444 GB, free: 84.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6451, allocations: 11.97 kB / 0.5444 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.6457, allocations: 142.8 kB / 0.5445 GB, free: 84.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.6475, allocations: 0.8632 MB / 0.5454 GB, free: 83.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.6475, allocations: 24 kB / 0.5454 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.6476, allocations: 47.91 kB / 0.5455 GB, free: 83.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009311/0.6486, allocations: 0.6638 MB / 0.5461 GB, free: 82.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6497, allocations: 0.9854 MB / 0.5471 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.6497, allocations: 3.938 kB / 0.5471 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.6498, allocations: 4 kB / 0.5471 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.6499, allocations: 45.98 kB / 0.5471 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.6542, allocations: 4.85 MB / 0.5519 GB, free: 76.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.6549, allocations: 385.7 kB / 0.5522 GB, free: 76.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.6551, allocations: 202.4 kB / 0.5524 GB, free: 76.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.6551, allocations: 16.22 kB / 0.5524 GB, free: 76.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.6552, allocations: 38.89 kB / 0.5525 GB, free: 76.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.717e-06/0.6552, allocations: 0 / 0.5525 GB, free: 76.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001467/0.6566, allocations: 0.8888 MB / 0.5533 GB, free: 75.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6567, allocations: 89.09 kB / 0.5534 GB, free: 75.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.6571, allocations: 400.8 kB / 0.5538 GB, free: 74.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6571, allocations: 25.7 kB / 0.5538 GB, free: 74.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.6573, allocations: 453.7 kB / 0.5543 GB, free: 74.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6574, allocations: 165.6 kB / 0.5544 GB, free: 74.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.6574, allocations: 4 kB / 0.5544 GB, free: 74.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.6576, allocations: 358.8 kB / 0.5548 GB, free: 73.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.6578, allocations: 218 kB / 0.555 GB, free: 73.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.6583, allocations: 0.6006 MB / 0.5556 GB, free: 72.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.6587, allocations: 359.6 kB / 0.5559 GB, free: 72.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6587, allocations: 4 kB / 0.5559 GB, free: 72.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001082/0.6598, allocations: 0.8012 MB / 0.5567 GB, free: 71.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.6599, allocations: 8 kB / 0.5567 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.6599, allocations: 16 kB / 0.5567 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.66, allocations: 20.78 kB / 0.5567 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.6606, allocations: 207.6 kB / 0.5569 GB, free: 71.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.6606, allocations: 23.92 kB / 0.557 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.6611, allocations: 35.92 kB / 0.557 GB, free: 71.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.6612, allocations: 43.94 kB / 0.557 GB, free: 71.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (97): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.6613, allocations: 132.7 kB / 0.5572 GB, free: 71.04 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006104/0.6619, allocations: 472.9 kB / 0.5576 GB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.662, allocations: 59.27 kB / 0.5577 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.6627, allocations: 0.5263 MB / 0.5582 GB, free: 69.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6628, allocations: 12 kB / 0.5582 GB, free: 69.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6628, allocations: 3.953 kB / 0.5582 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6628, allocations: 0 / 0.5582 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.6644, allocations: 1.201 MB / 0.5594 GB, free: 68.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6644, allocations: 4 kB / 0.5594 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.6648, allocations: 115.7 kB / 0.5595 GB, free: 68.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6648, allocations: 4 kB / 0.5595 GB, free: 68.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.6649, allocations: 8.234 kB / 0.5595 GB, free: 68.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6649, allocations: 12 kB / 0.5595 GB, free: 68.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6649, allocations: 4 kB / 0.5595 GB, free: 68.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.6656, allocations: 0.748 MB / 0.5602 GB, free: 67.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.6657, allocations: 136.3 kB / 0.5604 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.6658, allocations: 4 kB / 0.5604 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.666, allocations: 19.97 kB / 0.5604 GB, free: 67.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.6661, allocations: 31.91 kB / 0.5604 GB, free: 67.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.6661, allocations: 20 kB / 0.5604 GB, free: 67.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.6664, allocations: 290.9 kB / 0.5607 GB, free: 67.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6664, allocations: 0 / 0.5607 GB, free: 67.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007686/0.6672, allocations: 152 kB / 0.5609 GB, free: 67.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (48): * Single equations (assignments): 45 * Array equations: 2 * 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.001004/0.6682, allocations: 1.935 MB / 0.5628 GB, free: 65.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.6689, allocations: 0.5683 MB / 0.5633 GB, free: 64.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6689, allocations: 0 / 0.5633 GB, free: 64.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.6691, allocations: 251.9 kB / 0.5636 GB, free: 64.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.6696, allocations: 90.61 kB / 0.5636 GB, free: 64.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.6716, allocations: 1.196 MB / 0.5648 GB, free: 62.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.672, allocations: 1.02 MB / 0.5658 GB, free: 61.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.6725, allocations: 220.8 kB / 0.566 GB, free: 61.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.6728, allocations: 255.3 kB / 0.5663 GB, free: 61.35 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6728, allocations: 0 / 0.5663 GB, free: 61.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.7066, allocations: 10.19 MB / 0.5762 GB, free: 51.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.7069, allocations: 126.3 kB / 0.5763 GB, free: 50.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.036, allocations: 0 / 0.5763 GB, free: 50.96 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Units_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)