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.00129/0.001291, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.001278/0.001278, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.342/1.342, 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.05031/0.05031, allocations: 8.104 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 63.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09553, allocations: 51.52 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002489/0.09806, allocations: 1.275 MB / 466.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.0996, allocations: 1.244 MB / 468 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.09967, allocations: 4 kB / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.09998, allocations: 103.5 kB / 468.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1002, allocations: 55.62 kB / 468.2 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1014, allocations: 0.7391 MB / 468.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1017, allocations: 135.4 kB / 469 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1018, allocations: 65.45 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.1019, allocations: 47.86 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.102, allocations: 75.62 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.102, allocations: 16 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1023, allocations: 147.9 kB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.1023, allocations: 23.92 kB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.1024, allocations: 71.61 kB / 469.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1028, allocations: 259 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1028, allocations: 0 / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1028, allocations: 4 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1028, allocations: 0 / 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.001268/0.1041, allocations: 0.5609 MB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1041, allocations: 15.89 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.1042, allocations: 46.73 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1042, allocations: 12.89 kB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1044, allocations: 212.1 kB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1045, allocations: 8.375 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1045, allocations: 20.38 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1048, allocations: 150.1 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1048, allocations: 7.922 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1048, allocations: 7.984 kB / 470.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1048, allocations: 4 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.105, allocations: 111.9 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.1058, allocations: 0.512 MB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.1066, allocations: 162.4 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.1067, allocations: 40.8 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.1069, allocations: 85.09 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1069, allocations: 38.56 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.146e-06/0.1069, allocations: 0 / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001156/0.1081, allocations: 355.4 kB / 472 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1081, allocations: 55.34 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1083, allocations: 129.3 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1083, allocations: 29.7 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.1084, allocations: 132.2 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1084, allocations: 31.69 kB / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.1085, allocations: 33.7 kB / 472.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1086, allocations: 318.8 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.1087, allocations: 39.98 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1088, allocations: 53.7 kB / 472.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.109, allocations: 109.6 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.109, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004864/0.1095, allocations: 206.2 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1095, allocations: 4 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1095, allocations: 4 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.11, allocations: 76.8 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.11, allocations: 23.98 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1119, allocations: 1.641 MB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.112, allocations: 7.938 kB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.112, 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.000117/0.1121, allocations: 129.8 kB / 475 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.1122, allocations: 3.953 kB / 475 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.1127, allocations: 206.6 kB / 475.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1127, allocations: 4 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1127, allocations: 4.375 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1127, allocations: 3.938 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.113, allocations: 233.5 kB / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.113, allocations: 3.984 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.1131, allocations: 15.94 kB / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.1134, allocations: 72.77 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1134, allocations: 0 / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.1151, allocations: 1.641 MB / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1152, allocations: 32 / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.1157, allocations: 288.2 kB / 477.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1157, allocations: 85.02 kB / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1158, allocations: 4 kB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.1159, allocations: 4 kB / 477.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.1159, allocations: 7.984 kB / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1159, allocations: 4 kB / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.116, allocations: 107.1 kB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.116, allocations: 3.938 kB / 477.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1163, allocations: 47.94 kB / 477.8 MB, free: 5.699 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.0008707/0.1172, allocations: 0.8266 MB / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.1179, allocations: 258.6 kB / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1179, allocations: 0 / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.1183, allocations: 198.6 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.0002333/0.1185, allocations: 11.94 kB / 479 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.1209, allocations: 1.79 MB / 480.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1213, allocations: 0.7041 MB / 481.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.1213, allocations: 20.69 kB / 481.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.1214, allocations: 35.42 kB / 481.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1214, allocations: 0 / 481.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1492, allocations: 3.533 MB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.519/9.668, allocations: 5.25 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)