Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.001761/0.001761, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.828/1.828, allocations: 223.2 MB / 239.7 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 96.47 kB / 290.9 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0732/0.0732, allocations: 8.101 MB / 350.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 8 kB / 413.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 52.52 MB / 465.7 MB, free: 69.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4296, allocations: 79.31 MB / 0.5322 GB, free: 6.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4299, allocations: 63.97 kB / 0.5323 GB, free: 6.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02364/0.4536, allocations: 8.491 MB / 0.5406 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4537, allocations: 0 / 0.5406 GB, free: 13.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.4537, allocations: 4 kB / 0.5406 GB, free: 13.53 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001684/0.4554, allocations: 0.66 MB / 0.5412 GB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4554, allocations: 15.95 kB / 0.5413 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.131e-05/0.4555, allocations: 54.55 kB / 0.5413 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.4556, allocations: 23.72 kB / 0.5413 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.456, allocations: 275.4 kB / 0.5416 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.456, allocations: 12.44 kB / 0.5416 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4561, allocations: 20 kB / 0.5416 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.4566, allocations: 291.2 kB / 0.5419 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4566, allocations: 0 / 0.5419 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.4567, allocations: 15.94 kB / 0.5419 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4567, allocations: 7.938 kB / 0.5419 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.4571, allocations: 285.6 kB / 0.5422 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.459, allocations: 1.113 MB / 0.5433 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.46, allocations: 451.8 kB / 0.5437 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.4601, allocations: 8 kB / 0.5437 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4602, allocations: 42.5 kB / 0.5438 GB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 5.64e-06/0.4602, allocations: 7.922 kB / 0.5438 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003021/0.4632, allocations: 0.95 MB / 0.5447 GB, free: 9.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.4633, allocations: 55.41 kB / 0.5448 GB, free: 9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4636, allocations: 204 kB / 0.5449 GB, free: 8.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.4636, allocations: 33.7 kB / 0.545 GB, free: 8.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4638, allocations: 140.3 kB / 0.5451 GB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.4639, allocations: 106.5 kB / 0.5452 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.4639, allocations: 4 kB / 0.5452 GB, free: 8.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4641, allocations: 334.8 kB / 0.5455 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.4643, allocations: 155.8 kB / 0.5457 GB, free: 8.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.4646, allocations: 152 kB / 0.5458 GB, free: 7.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4648, allocations: 164.6 kB / 0.546 GB, free: 7.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4648, allocations: 3.938 kB / 0.546 GB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001345/0.4662, allocations: 0.6068 MB / 0.5466 GB, free: 7.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4662, allocations: 8 kB / 0.5466 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4662, allocations: 4 kB / 0.5466 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4673, allocations: 244.6 kB / 0.5468 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4675, allocations: 43.91 kB / 0.5469 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.4718, allocations: 2.581 MB / 0.5494 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.4721, allocations: 23.8 kB / 0.5494 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.4722, allocations: 11.98 kB / 0.5494 GB, free: 4.039 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.4724, allocations: 142.3 kB / 0.5496 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.4725, allocations: 27.7 kB / 0.5496 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.474, allocations: 0.6101 MB / 0.5502 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.474, allocations: 112 / 0.5502 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4741, allocations: 7.938 kB / 0.5502 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4741, allocations: 3.938 kB / 0.5502 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.476, allocations: 1.092 MB / 0.5513 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.476, allocations: 8 kB / 0.5513 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4762, allocations: 35.97 kB / 0.5513 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4772, allocations: 245.3 kB / 0.5515 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.4773, allocations: 4 kB / 0.5515 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2312/0.7085, allocations: 2.554 MB / 0.554 GB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.7086, allocations: 2.766 kB / 0.554 GB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.7105, allocations: 0.6575 MB / 0.5547 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.7107, allocations: 107.1 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.7107, allocations: 5.672 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.711, allocations: 15.69 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.7111, allocations: 22.69 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.7111, allocations: 9.172 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.7114, allocations: 182.6 kB / 0.555 GB, free: 88.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7114, allocations: 0 / 0.555 GB, free: 88.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.712, allocations: 111.5 kB / 0.5551 GB, free: 88.95 MB / 378.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 () * Number of clocked 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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.7139, allocations: 1.212 MB / 0.5563 GB, free: 88.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.7152, allocations: 0.5609 MB / 0.5568 GB, free: 88.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7152, allocations: 1.375 kB / 0.5568 GB, free: 88.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.716, allocations: 401.7 kB / 0.5572 GB, free: 88.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7163, allocations: 20.59 kB / 0.5572 GB, free: 88.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.7199, allocations: 1.853 MB / 0.5591 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.7202, allocations: 0.7558 MB / 0.5598 GB, free: 86.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.7204, allocations: 31.36 kB / 0.5598 GB, free: 86.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.7205, allocations: 71.11 kB / 0.5599 GB, free: 86.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7205, allocations: 0 / 0.5599 GB, free: 86.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.744, allocations: 8.12 MB / 0.5678 GB, free: 85.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.7443, allocations: 196.2 kB / 0.568 GB, free: 85.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.749, allocations: 0 / 0.568 GB, free: 85.49 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)