Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.001584/0.001584, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001769/0.00177, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7979/0.7979, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.47 kB / 0.5726 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 78.7 MB / 0.6495 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04627/0.2038, allocations: 41.17 MB / 0.6897 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2293, allocations: 15.09 MB / 0.7044 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004146/0.2335, allocations: 187.1 kB / 0.7046 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.2444, allocations: 4.474 MB / 0.709 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007438/0.2518, allocations: 2.923 MB / 0.7118 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007505/0.2593, allocations: 3.159 MB / 0.7149 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01447/0.2738, allocations: 11.43 MB / 0.7261 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.2941, allocations: 12.46 MB / 0.7382 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009118/0.3033, allocations: 4.9 MB / 0.743 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3679/0.6712, allocations: 5.386 MB / 0.7483 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00353/0.6748, allocations: 0.9494 MB / 0.7492 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/0.6812, allocations: 2.039 MB / 0.7512 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007146/0.6884, allocations: 3.689 MB / 0.7548 GB, free: 26.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01559/0.704, allocations: 4.304 MB / 0.759 GB, free: 25.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03226/0.7363, allocations: 14.32 MB / 0.773 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.7364, allocations: 0 / 0.773 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7364, allocations: 0 / 0.773 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005031/0.7369, allocations: 1.438 kB / 0.773 GB, free: 24.31 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0404/0.7773, allocations: 7.795 MB / 0.7806 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7774, allocations: 8.125 kB / 0.7806 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005441/0.7828, allocations: 0.8924 MB / 0.7815 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/0.8018, allocations: 1.557 MB / 0.783 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.815, allocations: 4.464 MB / 0.7874 GB, free: 18.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008927/0.8159, allocations: 458 kB / 0.7878 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005867/0.8218, allocations: 0.5955 MB / 0.7884 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/0.8526, allocations: 10.68 MB / 0.7988 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003519/0.853, allocations: 29.81 kB / 0.7988 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003216/0.8562, allocations: 264.7 kB / 0.7991 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.8592, allocations: 0.7727 MB / 0.7998 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.8779, allocations: 8.562 MB / 0.8082 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06834/0.9463, allocations: 46.61 MB / 0.8537 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006186/0.9525, allocations: 4.328 MB / 0.8579 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005604/0.9581, allocations: 3.706 MB / 0.8616 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.9586, allocations: 38.78 kB / 0.8616 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/0.9586, allocations: 73.34 kB / 0.8617 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 5.831e-06/0.9587, allocations: 4 kB / 0.8617 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.5449/1.504, allocations: 122.9 MB / 0.9817 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/1.504, allocations: 115.9 kB / 0.9818 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005218/1.509, allocations: 2.685 MB / 0.9844 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001529/1.51, allocations: 125.7 kB / 0.9845 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/1.513, allocations: 2.751 MB / 0.9872 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003195/1.516, allocations: 2.047 MB / 0.9892 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003923/1.52, allocations: 0.929 MB / 0.9901 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.52, allocations: 308.2 kB / 0.9904 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00748/1.528, allocations: 4.075 MB / 0.9944 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/1.535, allocations: 5.015 MB / 0.9993 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/1.551, allocations: 9.849 MB / 1.009 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/1.551, allocations: 4 kB / 1.009 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04463/1.596, allocations: 17.02 MB / 1.026 GB, free: 9.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/1.596, allocations: 16 kB / 1.026 GB, free: 9.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.873e-05/1.596, allocations: 24 kB / 1.026 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03413/1.63, allocations: 9.086 MB / 1.034 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.633, allocations: 0.5145 MB / 1.035 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4939/2.127, allocations: 77.03 MB / 1.11 GB, free: 263 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006183/2.133, allocations: 276.2 kB / 1.11 GB, free: 262.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.135, allocations: 195 kB / 1.111 GB, free: 262.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006135/2.141, allocations: 2.425 MB / 1.113 GB, free: 261.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.143, allocations: 0.4884 MB / 1.113 GB, free: 261.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/2.181, allocations: 16.81 MB / 1.13 GB, free: 250 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/2.181, allocations: 57.22 kB / 1.13 GB, free: 249.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001984/2.181, allocations: 72 kB / 1.13 GB, free: 249.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.792e-05/2.181, allocations: 30.89 kB / 1.13 GB, free: 249.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05495/2.236, allocations: 25.66 MB / 1.155 GB, free: 226.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.514e-05/2.236, allocations: 8.844 kB / 1.155 GB, free: 226 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/2.238, allocations: 319.5 kB / 1.155 GB, free: 225.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02785/2.266, allocations: 8.268 MB / 1.163 GB, free: 217.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/2.267, allocations: 108 kB / 1.164 GB, free: 217.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08473/2.352, allocations: 73.92 MB / 1.236 GB, free: 141.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.352, allocations: 11.94 kB / 1.236 GB, free: 141.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03931/2.392, allocations: 21.59 MB / 1.257 GB, free: 119.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/2.395, allocations: 1.376 MB / 1.258 GB, free: 118.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/2.396, allocations: 108 kB / 1.258 GB, free: 118.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/2.4, allocations: 288.6 kB / 1.259 GB, free: 118.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/2.402, allocations: 0.5263 MB / 1.259 GB, free: 117.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004198/2.402, allocations: 148 kB / 1.259 GB, free: 117.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002196/2.404, allocations: 1.776 MB / 1.261 GB, free: 115.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.404, allocations: 0 / 1.261 GB, free: 115.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007817/2.412, allocations: 2.465 MB / 1.263 GB, free: 113.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03833/2.451, allocations: 22.29 MB / 1.285 GB, free: 90.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02383/2.474, allocations: 14.59 MB / 1.299 GB, free: 75.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.474, allocations: 4.062 kB / 1.299 GB, free: 75.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0167/2.491, allocations: 9.394 MB / 1.309 GB, free: 66.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/2.501, allocations: 1.374 MB / 1.31 GB, free: 64.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5234/3.025, allocations: 70.38 MB / 1.379 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/3.035, allocations: 4.9 MB / 1.383 GB, free: 269.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003007/3.038, allocations: 0.7425 MB / 1.384 GB, free: 269.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/3.041, allocations: 2.608 MB / 1.387 GB, free: 269.5 MB / 0.8106 GB Notification: Performance of SimCode: time 1.863e-06/3.041, allocations: 0.875 kB / 1.387 GB, free: 269.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/3.309, allocations: 196.4 MB / 1.579 GB, free: 113.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/24.78, allocations: 3.75 kB / 1.579 GB, free: 113.8 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)