Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001059/0.001059, allocations: 105.3 kB / 16.45 MB, free: 6.035 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.001189/0.001189, allocations: 191.8 kB / 17.39 MB, free: 5.559 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.244/1.244, 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.04746/0.04746, allocations: 8.096 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09551, allocations: 51.53 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002989/0.09854, allocations: 2.313 MB / 467.8 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1005, allocations: 1.664 MB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1007, allocations: 8 kB / 469.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.101, allocations: 159.1 kB / 469.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.1015, allocations: 218.6 kB / 469.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1034, allocations: 1.21 MB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.1039, allocations: 414 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1041, allocations: 135.5 kB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1042, allocations: 167.3 kB / 471.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1045, allocations: 211.1 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1045, allocations: 32 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.1049, allocations: 271.7 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.105, allocations: 79.73 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1052, allocations: 199 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.1058, allocations: 0.5838 MB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1058, allocations: 0 / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1058, allocations: 0 / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1058, allocations: 0 / 473.1 MB, free: 11 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.004797/0.1106, allocations: 1.372 MB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1107, allocations: 11.89 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/0.1107, allocations: 66.72 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.1108, allocations: 44.7 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1112, allocations: 327.6 kB / 474.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1113, allocations: 28.94 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1113, allocations: 28.38 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.112, allocations: 477 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.112, allocations: 3.938 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.1121, allocations: 12 kB / 475.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1121, allocations: 12 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.1127, allocations: 418 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.1151, allocations: 2.013 MB / 477.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.1159, allocations: 0.5179 MB / 478.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.1163, allocations: 280.8 kB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.1163, allocations: 11.98 kB / 478.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1164, allocations: 38.56 kB / 478.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/0.1164, allocations: 4 kB / 478.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00632/0.1227, allocations: 1.877 MB / 480.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.1228, allocations: 110.8 kB / 480.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1231, allocations: 270.9 kB / 481 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.1231, allocations: 37.7 kB / 481 MB, free: 2.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1232, allocations: 165 kB / 481.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1233, allocations: 158.6 kB / 481.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1235, allocations: 106.2 kB / 481.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1237, allocations: 338.8 kB / 481.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.1241, allocations: 293 kB / 482.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.1245, allocations: 360.6 kB / 482.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.1254, allocations: 0.6412 MB / 483.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1254, allocations: 4.031 kB / 483.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003193/0.1286, allocations: 1.272 MB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1287, allocations: 11.94 kB / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1287, allocations: 0 / 484.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.1321, allocations: 0.7766 MB / 485.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.1324, allocations: 95.88 kB / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.1394, allocations: 4.167 MB / 489.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.1399, allocations: 59.61 kB / 489.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.1399, allocations: 23.98 kB / 489.5 MB, free: 10.04 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.0002227/0.1402, allocations: 162.6 kB / 489.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.1403, allocations: 31.81 kB / 489.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/0.1435, allocations: 1.226 MB / 490.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1435, allocations: 4 kB / 490.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1435, allocations: 0 / 490.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1435, allocations: 3.984 kB / 490.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.1441, allocations: 0.5677 MB / 491.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1441, allocations: 0 / 491.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.1443, allocations: 59.91 kB / 491.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.1476, allocations: 0.7534 MB / 492.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.1477, allocations: 15.98 kB / 492.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.1541, allocations: 4.133 MB / 496.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1542, allocations: 0 / 496.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.1573, allocations: 1.238 MB / 497.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1574, allocations: 120.7 kB / 497.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.1575, allocations: 8 kB / 497.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.1578, allocations: 31.92 kB / 497.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1579, allocations: 36.33 kB / 497.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.158, allocations: 19.98 kB / 497.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1581, allocations: 194 kB / 498.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1582, allocations: 0 / 498.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005982/0.1588, allocations: 176 kB / 498.2 MB, free: 1.023 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.003441/0.1622, allocations: 1.802 MB / 0.4883 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.1645, allocations: 1.058 MB / 0.4894 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1646, allocations: 0 / 0.4894 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.1662, allocations: 0.6843 MB / 0.49 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1666, allocations: 39.86 kB / 0.4901 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009301/0.1759, allocations: 5.199 MB / 0.4951 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1763, allocations: 0.7935 MB / 0.4959 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.1765, allocations: 54.92 kB / 0.496 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1767, allocations: 123.4 kB / 0.4961 GB, free: 7.105 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1767, allocations: 3.938 kB / 0.4961 GB, free: 7.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.3905, allocations: 15.24 MB / 0.511 GB, free: 46.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.93, allocations: 4.531 kB / 0.511 GB, free: 46.35 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)