Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001206/0.001206, allocations: 109.1 kB / 16.45 MB, free: 6.434 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.001124/0.001124, allocations: 186.4 kB / 17.39 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05156/0.05156, allocations: 8.104 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09285, allocations: 51.51 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.00344/0.09634, allocations: 2.317 MB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.09869, allocations: 1.664 MB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.09882, allocations: 8 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.09925, allocations: 159.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.09971, allocations: 206.7 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.1019, allocations: 1.221 MB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.1024, allocations: 406.1 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.1027, allocations: 135.5 kB / 471.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1029, allocations: 171.3 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1032, allocations: 215 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.1032, allocations: 28 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.1037, allocations: 267.8 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.1038, allocations: 79.69 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.104, allocations: 195 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000738/0.1048, allocations: 0.5838 MB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1048, allocations: 4 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1048, allocations: 0 / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1048, allocations: 0 / 473.1 MB, free: 11.02 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005057/0.1099, allocations: 1.372 MB / 474.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.11, allocations: 11.89 kB / 474.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.11, allocations: 66.72 kB / 474.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1101, allocations: 44.7 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1106, allocations: 331.6 kB / 474.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1106, allocations: 24.94 kB / 475 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.1107, allocations: 36.38 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.1115, allocations: 469 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1115, allocations: 3.938 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.1115, allocations: 12 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1115, allocations: 8 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.1122, allocations: 422.1 kB / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.115, allocations: 2.009 MB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.116, allocations: 0.5189 MB / 478.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.1164, allocations: 280.8 kB / 478.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.851e-05/0.1165, allocations: 11.98 kB / 478.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1166, allocations: 46.44 kB / 478.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.532e-06/0.1166, allocations: 0 / 478.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007085/0.1237, allocations: 1.924 MB / 480.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.1237, allocations: 114.8 kB / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1241, allocations: 274.9 kB / 481.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.1242, allocations: 37.7 kB / 481.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1243, allocations: 165 kB / 481.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.1245, allocations: 154.6 kB / 481.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.1247, allocations: 106.2 kB / 481.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1248, allocations: 346.8 kB / 481.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.1253, allocations: 301 kB / 482.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.1259, allocations: 352.6 kB / 482.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.1269, allocations: 0.649 MB / 483.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1269, allocations: 0 / 483.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003523/0.1305, allocations: 1.26 MB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1305, allocations: 7.938 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1305, allocations: 0 / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003619/0.1341, allocations: 0.7766 MB / 485.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.1345, allocations: 91.88 kB / 485.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.1424, allocations: 4.174 MB / 489.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1429, allocations: 51.61 kB / 489.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.1429, allocations: 24 kB / 489.5 MB, free: 10.02 MB / 366.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.1431, allocations: 161.7 kB / 489.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.1432, allocations: 35.81 kB / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.1467, allocations: 1.21 MB / 490.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1467, allocations: 11.98 kB / 490.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1468, allocations: 0 / 490.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1468, allocations: 4 kB / 490.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.1474, allocations: 0.5561 MB / 491.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1474, allocations: 0 / 491.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.1476, allocations: 63.91 kB / 491.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.151, allocations: 0.7421 MB / 492.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.1511, allocations: 19.98 kB / 492.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/0.1583, allocations: 4.135 MB / 496.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1583, allocations: 0 / 496.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.1615, allocations: 1.226 MB / 497.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1617, allocations: 128.6 kB / 497.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.1617, allocations: 4 kB / 497.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.1621, allocations: 31.97 kB / 497.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1622, allocations: 36.33 kB / 497.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.1622, allocations: 16 kB / 497.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1625, allocations: 194 kB / 498.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1625, allocations: 0 / 498.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.1631, allocations: 179.9 kB / 498.2 MB, free: 1.027 MB / 366.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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003609/0.1667, allocations: 1.791 MB / 0.4883 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.1692, allocations: 1.051 MB / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.1693, allocations: 0 / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.1711, allocations: 0.6882 MB / 0.49 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1715, allocations: 32.89 kB / 0.49 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.1817, allocations: 5.211 MB / 0.4951 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.1822, allocations: 0.7974 MB / 0.4959 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.1824, allocations: 54.75 kB / 0.496 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.1826, allocations: 123.4 kB / 0.4961 GB, free: 7.113 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1826, allocations: 0 / 0.4961 GB, free: 7.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/0.4071, allocations: 15.23 MB / 0.511 GB, free: 45.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 4.188 kB / 0.511 GB, free: 45.97 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_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_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)