Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.conf.json 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/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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 105.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 186.4 kB / 17.38 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0499/0.0499, allocations: 8.094 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 67.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1314, allocations: 51.51 MB / 465.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002935/0.1344, allocations: 1.27 MB / 466.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1368, allocations: 1.481 MB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1369, allocations: 7.938 kB / 468.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1373, allocations: 103.5 kB / 468.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1378, allocations: 107.4 kB / 468.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.1398, allocations: 1.007 MB / 469.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1402, allocations: 159.2 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1404, allocations: 53.52 kB / 469.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1405, allocations: 71.7 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1407, allocations: 87.61 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.1407, allocations: 15.94 kB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.1412, allocations: 227.8 kB / 470.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1413, allocations: 39.83 kB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1414, allocations: 75.61 kB / 470.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.142, allocations: 335.1 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1421, allocations: 0 / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1421, allocations: 3.984 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1421, allocations: 0 / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002454/0.1445, allocations: 0.7287 MB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1446, allocations: 11.89 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.1447, allocations: 50.73 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.1447, allocations: 16.84 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1451, allocations: 232 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1451, allocations: 8.609 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.1451, allocations: 16.36 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1455, allocations: 202 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1455, allocations: 7.938 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1455, allocations: 4 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1456, allocations: 4 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.1458, allocations: 156.6 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1471, allocations: 0.7302 MB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.1476, allocations: 198.5 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1478, allocations: 96.78 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.1478, allocations: 8 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1479, allocations: 34.55 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1479, allocations: 0 / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002016/0.1499, allocations: 0.5892 MB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.15, allocations: 81.11 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1502, allocations: 170.6 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.1503, allocations: 37.69 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.1504, allocations: 116.5 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.1504, allocations: 55.52 kB / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1505, allocations: 53.69 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1507, allocations: 330.8 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1509, allocations: 99.97 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.1511, allocations: 130.4 kB / 474.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.1514, allocations: 228.8 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1514, allocations: 0 / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001113/0.1526, allocations: 426.1 kB / 475.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1526, allocations: 4 kB / 475.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1526, allocations: 7.875 kB / 475.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1537, allocations: 200.6 kB / 475.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1539, allocations: 47.91 kB / 475.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.1568, allocations: 1.968 MB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.157, allocations: 27.78 kB / 477.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1571, allocations: 4 kB / 477.5 MB, free: 6.188 MB / 350.1 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.1572, allocations: 129.8 kB / 477.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1573, allocations: 15.89 kB / 477.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1584, allocations: 392.1 kB / 478.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1584, allocations: 4 kB / 478.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1584, allocations: 3.938 kB / 478.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1584, allocations: 0 / 478.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.1587, allocations: 301.4 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1588, allocations: 7.938 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1589, allocations: 23.98 kB / 478.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009725/0.1599, allocations: 196.6 kB / 478.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1599, allocations: 11.98 kB / 478.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.1625, allocations: 1.941 MB / 480.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1625, allocations: 240 / 480.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1636, allocations: 451.9 kB / 481 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1637, allocations: 104.9 kB / 481.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.1637, allocations: 8 kB / 481.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1639, allocations: 15.98 kB / 481.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.164, allocations: 7.984 kB / 481.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.164, allocations: 12 kB / 481.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1641, allocations: 136.2 kB / 481.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.186e-06/0.1641, allocations: 0 / 481.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1645, allocations: 71.88 kB / 481.3 MB, free: 2.145 MB / 350.1 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/0.166, allocations: 0.9926 MB / 482.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009966/0.167, allocations: 411 kB / 482.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.167, allocations: 8 kB / 482.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.1676, allocations: 270.5 kB / 483 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1679, allocations: 27.86 kB / 483 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.1722, allocations: 2.516 MB / 485.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1726, allocations: 0.7281 MB / 486.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.1727, allocations: 25.39 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.1728, allocations: 43.42 kB / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1728, allocations: 0 / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.2122, allocations: 6.187 MB / 492.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.4, allocations: 0.7031 kB / 492.5 MB, free: 6.902 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)