Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001953/0.001953, allocations: 182.3 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.449/1.449, allocations: 221.4 MB / 235.1 MB, free: 14.39 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.0009016/0.0009016, allocations: 96.44 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05478/0.05478, allocations: 8.099 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.597e-05, allocations: 8 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09849, allocations: 52.5 MB / 458.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4413, allocations: 79.49 MB / 0.525 GB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.4416, allocations: 60.05 kB / 0.525 GB, free: 6.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.4619, allocations: 7.741 MB / 0.5326 GB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4619, allocations: 0 / 0.5326 GB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.4619, allocations: 4 kB / 0.5326 GB, free: 312 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001393/0.4633, allocations: 0.5915 MB / 0.5332 GB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4634, allocations: 12.02 kB / 0.5332 GB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.849e-05/0.4635, allocations: 56.98 kB / 0.5332 GB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.4636, allocations: 27.67 kB / 0.5332 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4639, allocations: 258.1 kB / 0.5335 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.464, allocations: 8.078 kB / 0.5335 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.464, allocations: 15.88 kB / 0.5335 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.4644, allocations: 255.9 kB / 0.5338 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4644, allocations: 0 / 0.5338 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.4645, allocations: 11.25 kB / 0.5338 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4645, allocations: 7.953 kB / 0.5338 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.4648, allocations: 248.3 kB / 0.534 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.4665, allocations: 1.2 MB / 0.5352 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.4672, allocations: 318.1 kB / 0.5355 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4674, allocations: 157.2 kB / 0.5356 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.4675, allocations: 85.09 kB / 0.5357 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4676, allocations: 42.12 kB / 0.5358 GB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.4676, allocations: 0 / 0.5358 GB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001414/0.469, allocations: 0.5447 MB / 0.5363 GB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4691, allocations: 67.34 kB / 0.5364 GB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4692, allocations: 184.7 kB / 0.5365 GB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4693, allocations: 29.64 kB / 0.5366 GB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.4694, allocations: 127.7 kB / 0.5367 GB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.4694, allocations: 87.12 kB / 0.5368 GB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.4694, allocations: 3 kB / 0.5368 GB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4696, allocations: 327.6 kB / 0.5371 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.4698, allocations: 128.1 kB / 0.5372 GB, free: 12.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.4699, allocations: 145.2 kB / 0.5373 GB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.4701, allocations: 146.6 kB / 0.5375 GB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4702, allocations: 0 / 0.5375 GB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001397/0.4716, allocations: 0.5792 MB / 0.538 GB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4716, allocations: 5.719 kB / 0.5381 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4716, allocations: 0 / 0.5381 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.4729, allocations: 303.6 kB / 0.5383 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4731, allocations: 27.98 kB / 0.5384 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.4766, allocations: 2.523 MB / 0.5408 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.4768, allocations: 23.09 kB / 0.5409 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4769, allocations: 4 kB / 0.5409 GB, free: 9.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 18 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.477, allocations: 112.1 kB / 0.541 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.477, allocations: 31.53 kB / 0.541 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.4786, allocations: 0.6211 MB / 0.5416 GB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4786, allocations: 15.92 kB / 0.5416 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4786, allocations: 0 / 0.5416 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4786, allocations: 0 / 0.5416 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.4791, allocations: 422.6 kB / 0.542 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4791, allocations: 0 / 0.542 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.4792, allocations: 35.11 kB / 0.5421 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.4805, allocations: 290.3 kB / 0.5423 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4805, allocations: 7.188 kB / 0.5423 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.4836, allocations: 2.501 MB / 0.5448 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4836, allocations: 0 / 0.5448 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.485, allocations: 0.6819 MB / 0.5454 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.4851, allocations: 99.91 kB / 0.5455 GB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.4852, allocations: 7.75 kB / 0.5455 GB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.4854, allocations: 15.55 kB / 0.5456 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.4855, allocations: 27.34 kB / 0.5456 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.4855, allocations: 8 kB / 0.5456 GB, free: 5.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4857, allocations: 155.9 kB / 0.5457 GB, free: 5.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4857, allocations: 4 kB / 0.5458 GB, free: 5.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000444/0.4861, allocations: 102.2 kB / 0.5458 GB, free: 5.293 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 (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/0.488, allocations: 1.218 MB / 0.547 GB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.489, allocations: 0.5007 MB / 0.5475 GB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.489, allocations: 0 / 0.5475 GB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006063/0.4896, allocations: 356.5 kB / 0.5479 GB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4898, allocations: 14.81 kB / 0.5479 GB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.4906, allocations: 360.6 kB / 0.5482 GB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.491, allocations: 0.7449 MB / 0.549 GB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.4911, allocations: 34.05 kB / 0.549 GB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4913, allocations: 59.34 kB / 0.549 GB, free: 2.438 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4913, allocations: 4 kB / 0.549 GB, free: 2.434 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.5134, allocations: 8.184 MB / 0.557 GB, free: 10.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.5137, allocations: 173.9 kB / 0.5572 GB, free: 10.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.337, allocations: 0 / 0.5572 GB, free: 10.18 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)