Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001172/0.001172, allocations: 104.1 kB / 16.45 MB, free: 6.406 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.001171/0.001171, allocations: 192.1 kB / 17.38 MB, free: 5.648 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.04869/0.04869, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1021, allocations: 51.53 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.00276/0.1049, allocations: 1.271 MB / 466.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1067, allocations: 1.251 MB / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1069, allocations: 4 kB / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.1073, allocations: 107.5 kB / 468.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1076, allocations: 47.62 kB / 468.2 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.109, allocations: 0.7544 MB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1092, allocations: 127.4 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1094, allocations: 69.45 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.1095, allocations: 47.86 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1096, allocations: 71.64 kB / 469.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1097, allocations: 16 kB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.11, allocations: 147.9 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1101, allocations: 23.92 kB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.1101, allocations: 67.61 kB / 469.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.1106, allocations: 263.4 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1106, allocations: 3.938 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1106, allocations: 4 kB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1106, allocations: 0 / 469.7 MB, free: 14.42 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.001372/0.112, allocations: 0.5571 MB / 470.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1121, allocations: 15.89 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.1121, allocations: 46.73 kB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1122, allocations: 16.89 kB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1124, allocations: 208.2 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1125, allocations: 12.38 kB / 470.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.1125, allocations: 20.36 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1128, allocations: 154.1 kB / 470.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1128, allocations: 3.938 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1128, allocations: 4 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1128, allocations: 4 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.113, allocations: 112 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.1138, allocations: 0.5158 MB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.1146, allocations: 154.5 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.1147, allocations: 40.78 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.1149, allocations: 93.03 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1149, allocations: 38.56 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1149, allocations: 0 / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001176/0.1161, allocations: 347.5 kB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1162, allocations: 63.28 kB / 472.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1163, allocations: 129.8 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1163, allocations: 29.7 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.1164, allocations: 124.2 kB / 472.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1164, allocations: 31.73 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1165, allocations: 33.7 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1166, allocations: 314.8 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.1167, allocations: 39.98 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.1168, allocations: 57.7 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.117, allocations: 109.6 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.117, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004901/0.1175, allocations: 206.2 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1175, allocations: 4 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1175, allocations: 4 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.118, allocations: 76.8 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.1181, allocations: 16 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.1199, allocations: 1.649 MB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.12, allocations: 7.938 kB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.12, allocations: 8.062 kB / 474.9 MB, free: 8.781 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.0001167/0.1201, allocations: 125.8 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1202, allocations: 3.953 kB / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.1207, allocations: 210.6 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1207, allocations: 4 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1207, allocations: 4 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1207, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.121, allocations: 233.4 kB / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.121, allocations: 0 / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.121, allocations: 11.98 kB / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.1214, allocations: 76.78 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1214, allocations: 384 / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.123, allocations: 1.637 MB / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.123, allocations: 0 / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.1235, allocations: 288.2 kB / 477.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1236, allocations: 88.95 kB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1236, allocations: 8 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.1237, allocations: 0 / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1238, allocations: 15.98 kB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1238, allocations: 4 kB / 477.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.1239, allocations: 98.5 kB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 11.88 kB / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.1242, allocations: 51.88 kB / 477.8 MB, free: 5.688 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.0008272/0.125, allocations: 0.8266 MB / 478.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.1257, allocations: 258.5 kB / 478.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1257, allocations: 0 / 478.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.1261, allocations: 198.6 kB / 479 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1264, allocations: 8.062 kB / 479.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1288, allocations: 1.782 MB / 480.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1291, allocations: 0.708 MB / 481.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1292, allocations: 12.75 kB / 481.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.1292, allocations: 39.42 kB / 481.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1292, allocations: 0 / 481.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1555, allocations: 3.539 MB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.862/9.018, allocations: 7.875 kB / 485.1 MB, free: 14.22 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_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_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)