Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.001213/0.001213, allocations: 109 kB / 16.45 MB, free: 6.402 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.001164/0.001164, allocations: 188.3 kB / 17.38 MB, free: 5.664 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.31/1.31, 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.04487/0.04487, allocations: 8.095 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 414 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08149, allocations: 51.51 MB / 465.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002242/0.08378, allocations: 1.279 MB / 466.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.08514, allocations: 1.247 MB / 468 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.08521, allocations: 4 kB / 468 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.08552, allocations: 103.5 kB / 468.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.08571, allocations: 59.62 kB / 468.2 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.08686, allocations: 0.7349 MB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.08706, allocations: 143.3 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.0872, allocations: 65.47 kB / 469.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.08726, allocations: 55.84 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.08736, allocations: 67.69 kB / 469.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.08739, allocations: 12 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.08763, allocations: 147.8 kB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.08767, allocations: 27.92 kB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.08774, allocations: 67.66 kB / 469.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.08807, allocations: 259.3 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.08808, allocations: 7.938 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08809, allocations: 0 / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.0881, allocations: 4 kB / 469.7 MB, free: 14.43 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001158/0.08926, allocations: 0.5609 MB / 470.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.08931, allocations: 15.89 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.08936, allocations: 46.73 kB / 470.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.0894, allocations: 12.89 kB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.08958, allocations: 207.7 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.0896, allocations: 8.375 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.08963, allocations: 12.38 kB / 470.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.08988, allocations: 154.2 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.0899, allocations: 3.938 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.08992, allocations: 7.938 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.08993, allocations: 8 kB / 470.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.09012, allocations: 116 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.0908, allocations: 0.5235 MB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.09154, allocations: 150.5 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.09162, allocations: 40.8 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.09175, allocations: 85.09 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.09179, allocations: 42.69 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.0918, allocations: 0 / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00107/0.09287, allocations: 339.4 kB / 472 MB, free: 11.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.09292, allocations: 67.28 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.09304, allocations: 129.8 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.09307, allocations: 25.7 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.09315, allocations: 128.2 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.09318, allocations: 27.75 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.09325, allocations: 33.7 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.09338, allocations: 318.8 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.09346, allocations: 47.92 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.09356, allocations: 57.7 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.09372, allocations: 93.72 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09373, allocations: 4 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004858/0.09422, allocations: 214.2 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.09425, allocations: 7.984 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.09427, allocations: 4 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.09469, allocations: 76.72 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.09478, allocations: 19.98 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.09647, allocations: 1.649 MB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.09655, allocations: 3.938 kB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.09657, allocations: 4 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.09668, allocations: 121.8 kB / 475 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.09672, allocations: 7.953 kB / 475 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.0972, allocations: 211.1 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09722, allocations: 0 / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.09723, allocations: 4 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.09724, allocations: 0 / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.09748, allocations: 241.3 kB / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.09749, allocations: 0 / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.09754, allocations: 15.94 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.09787, allocations: 80.77 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.09789, allocations: 4 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.09941, allocations: 1.633 MB / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.09943, allocations: 0 / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.09988, allocations: 284.2 kB / 477.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.09993, allocations: 85.02 kB / 477.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.09995, allocations: 4 kB / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.1001, allocations: 8.062 kB / 477.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1001, allocations: 7.984 kB / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1001, allocations: 4 kB / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.1002, allocations: 99.27 kB / 477.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1002, allocations: 3.938 kB / 477.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.1005, allocations: 51.86 kB / 477.8 MB, free: 5.703 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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007596/0.1013, allocations: 0.8344 MB / 478.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.1019, allocations: 254.5 kB / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1019, allocations: 0 / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.1022, allocations: 198.7 kB / 479 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1025, allocations: 15.94 kB / 479.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1046, allocations: 1.774 MB / 480.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1048, allocations: 0.7119 MB / 481.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.984e-05/0.1049, allocations: 16.66 kB / 481.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.1049, allocations: 39.42 kB / 481.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1049, allocations: 0 / 481.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.1503, allocations: 3.54 MB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/8.91, allocations: 6.844 kB / 485.1 MB, free: 14.23 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_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_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)