Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 182.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.4 MB / 235.1 MB, free: 14.42 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.000889, allocations: 97.09 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05521/0.05521, allocations: 8.103 MB / 345.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.832e-05, allocations: 4 kB / 405.6 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 52.51 MB / 458.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5454, allocations: 78.67 MB / 0.5242 GB, free: 7.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5457, allocations: 67.03 kB / 0.5242 GB, free: 7.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01153/0.5573, allocations: 4.827 MB / 0.5289 GB, free: 3.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5573, allocations: 4 kB / 0.5289 GB, free: 3.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.5573, allocations: 4 kB / 0.5289 GB, free: 3.422 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007698/0.5581, allocations: 461 kB / 0.5294 GB, free: 2.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5582, allocations: 12.03 kB / 0.5294 GB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.5582, allocations: 45.36 kB / 0.5294 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.5583, allocations: 15.86 kB / 0.5295 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.5586, allocations: 212.6 kB / 0.5297 GB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5586, allocations: 11 kB / 0.5297 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5586, allocations: 11.88 kB / 0.5297 GB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.5589, allocations: 146.7 kB / 0.5298 GB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5589, allocations: 0 / 0.5298 GB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.559, allocations: 7.75 kB / 0.5298 GB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.559, allocations: 7.891 kB / 0.5298 GB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.5592, allocations: 113.4 kB / 0.5299 GB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.5601, allocations: 0.5346 MB / 0.5305 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.5609, allocations: 156 kB / 0.5306 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.5609, allocations: 42.67 kB / 0.5307 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.5611, allocations: 81.11 kB / 0.5307 GB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5611, allocations: 46.3 kB / 0.5308 GB, free: 1.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.5611, allocations: 0 / 0.5308 GB, free: 1.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005424/0.5617, allocations: 168.1 kB / 0.5309 GB, free: 1.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.5617, allocations: 55.41 kB / 0.531 GB, free: 1.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.5619, allocations: 125.4 kB / 0.5311 GB, free: 1.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.5619, allocations: 29.45 kB / 0.5311 GB, free: 1.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.562, allocations: 123.4 kB / 0.5313 GB, free: 1.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.562, allocations: 30.3 kB / 0.5313 GB, free: 1.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.562, allocations: 0 / 0.5313 GB, free: 1.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5622, allocations: 326.7 kB / 0.5316 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.5623, allocations: 26.38 kB / 0.5316 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.5623, allocations: 44.53 kB / 0.5317 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.5624, allocations: 33.92 kB / 0.5317 GB, free: 0.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5624, allocations: 0 / 0.5317 GB, free: 0.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004571/0.5629, allocations: 169.1 kB / 0.5319 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5629, allocations: 7.984 kB / 0.5319 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.5629, allocations: 0 / 0.5319 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.5634, allocations: 79.45 kB / 0.5319 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.5634, allocations: 11.98 kB / 0.532 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.5652, allocations: 1.524 MB / 0.5334 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.5653, allocations: 11.88 kB / 0.5335 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5653, allocations: 11.31 kB / 0.5335 GB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/0.5654, allocations: 114.6 kB / 0.5336 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.5655, allocations: 7.906 kB / 0.5336 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.566, allocations: 205.8 kB / 0.5338 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.566, allocations: 11.92 kB / 0.5338 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.566, allocations: 0 / 0.5338 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.566, allocations: 0 / 0.5338 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.5663, allocations: 222.2 kB / 0.534 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5663, allocations: 3.984 kB / 0.534 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.5663, allocations: 12 kB / 0.534 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000335/0.5667, allocations: 77.27 kB / 0.5341 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5667, allocations: 0 / 0.5341 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.5682, allocations: 1.531 MB / 0.5356 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5682, allocations: 0 / 0.5356 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.5687, allocations: 281.6 kB / 0.5359 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.5688, allocations: 89.14 kB / 0.5359 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.5688, allocations: 3.812 kB / 0.5359 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5689, allocations: 3.953 kB / 0.5359 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.569, allocations: 11.97 kB / 0.536 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.569, allocations: 7.312 kB / 0.536 GB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.5691, allocations: 100.4 kB / 0.5361 GB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5691, allocations: 4 kB / 0.5361 GB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.5694, allocations: 51.08 kB / 0.5361 GB, free: 12.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00094/0.5703, allocations: 0.827 MB / 0.5369 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.571, allocations: 228.5 kB / 0.5371 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.571, allocations: 0 / 0.5371 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.5714, allocations: 199.5 kB / 0.5373 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.5716, allocations: 3.562 kB / 0.5373 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.5721, allocations: 210.2 kB / 0.5375 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.5724, allocations: 0.716 MB / 0.5382 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.5725, allocations: 4.672 kB / 0.5382 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.5725, allocations: 39.53 kB / 0.5383 GB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5725, allocations: 0 / 0.5383 GB, free: 10.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.5889, allocations: 3.213 MB / 0.5414 GB, free: 7.012 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.5891, allocations: 145 kB / 0.5415 GB, free: 6.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.307, allocations: 0 / 0.5415 GB, free: 6.785 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)