Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.00139/0.00139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.5 kB / 16.53 MB, free: 6.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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 286.4 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 94.89 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1477, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04007/0.1878, allocations: 41.16 MB / 0.7205 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.2112, allocations: 15.08 MB / 0.7352 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003872/0.2151, allocations: 191.1 kB / 0.7354 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.2265, allocations: 4.462 MB / 0.7398 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.2342, allocations: 2.794 MB / 0.7425 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008267/0.2425, allocations: 3.159 MB / 0.7456 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01534/0.2578, allocations: 11.4 MB / 0.7567 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01931/0.2772, allocations: 12.64 MB / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/0.2846, allocations: 4.791 MB / 0.7737 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2923/0.577, allocations: 5.384 MB / 0.779 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004459/0.5815, allocations: 0.949 MB / 0.7799 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007528/0.589, allocations: 2.037 MB / 0.7819 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.007228/0.5963, allocations: 3.695 MB / 0.7855 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.6067, allocations: 4.293 MB / 0.7897 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.6221, allocations: 14.19 MB / 0.8036 GB, free: 28.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.6222, allocations: 0 / 0.8036 GB, free: 28.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6222, allocations: 0 / 0.8036 GB, free: 28.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004698/0.6226, allocations: 0 / 0.8036 GB, free: 28.8 MB / 0.5606 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.02606/0.6487, allocations: 7.6 MB / 0.811 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.6488, allocations: 11.34 kB / 0.811 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002587/0.6514, allocations: 0.888 MB / 0.8119 GB, free: 25.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.662, allocations: 1.523 MB / 0.8134 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009688/0.6717, allocations: 4.203 MB / 0.8175 GB, free: 23.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.6721, allocations: 459.1 kB / 0.8179 GB, free: 23.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/0.6747, allocations: 0.5973 MB / 0.8185 GB, free: 23.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.6937, allocations: 10.68 MB / 0.8289 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.6939, allocations: 28.47 kB / 0.8289 GB, free: 16.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/0.6947, allocations: 264 kB / 0.8292 GB, free: 16.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/0.6976, allocations: 0.7767 MB / 0.83 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.7142, allocations: 8.556 MB / 0.8383 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05803/0.7723, allocations: 46.86 MB / 0.8841 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.7779, allocations: 4.306 MB / 0.8883 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/0.7828, allocations: 3.7 MB / 0.8919 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.783, allocations: 34.78 kB / 0.8919 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/0.7831, allocations: 81.09 kB / 0.892 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.501e-06/0.7831, allocations: 0 / 0.892 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5273/1.31, allocations: 122.8 MB / 1.012 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/1.311, allocations: 111.9 kB / 1.012 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/1.315, allocations: 2.684 MB / 1.015 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/1.316, allocations: 125.7 kB / 1.015 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001905/1.318, allocations: 2.678 MB / 1.017 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003036/1.321, allocations: 1.947 MB / 1.019 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004017/1.325, allocations: 0.9248 MB / 1.02 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.325, allocations: 301.1 kB / 1.02 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006305/1.331, allocations: 4.079 MB / 1.024 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006649/1.338, allocations: 5.011 MB / 1.029 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.353, allocations: 9.854 MB / 1.039 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.427e-05/1.353, allocations: 4 kB / 1.039 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.346/1.699, allocations: 17 MB / 1.056 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/1.699, allocations: 14.81 kB / 1.056 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/1.699, allocations: 22.38 kB / 1.056 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03207/1.731, allocations: 9.156 MB / 1.065 GB, free: 266.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.734, allocations: 0.5225 MB / 1.065 GB, free: 266.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08687/1.82, allocations: 77.03 MB / 1.14 GB, free: 218.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/1.825, allocations: 283.8 kB / 1.141 GB, free: 218.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006772/1.826, allocations: 189.1 kB / 1.141 GB, free: 218.4 MB / 0.7637 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.003607/1.83, allocations: 2.419 MB / 1.143 GB, free: 216 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009771/1.831, allocations: 476.9 kB / 1.144 GB, free: 215.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0325/1.863, allocations: 16.82 MB / 1.16 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/1.863, allocations: 56 kB / 1.16 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001465/1.863, allocations: 79.3 kB / 1.16 GB, free: 198.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.841e-05/1.864, allocations: 23.91 kB / 1.16 GB, free: 198.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/1.91, allocations: 25.66 MB / 1.185 GB, free: 172.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-05/1.91, allocations: 8.938 kB / 1.185 GB, free: 172.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.911, allocations: 319.5 kB / 1.186 GB, free: 172.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02695/1.938, allocations: 8.34 MB / 1.194 GB, free: 163.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/1.94, allocations: 108 kB / 1.194 GB, free: 163.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08132/2.021, allocations: 73.89 MB / 1.266 GB, free: 88.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/2.021, allocations: 8.125 kB / 1.266 GB, free: 88.39 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03681/2.058, allocations: 21.58 MB / 1.287 GB, free: 66.47 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/2.061, allocations: 1.351 MB / 1.288 GB, free: 65.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009294/2.062, allocations: 113.2 kB / 1.288 GB, free: 64.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/2.065, allocations: 285.7 kB / 1.289 GB, free: 64.71 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/2.067, allocations: 0.5221 MB / 1.289 GB, free: 64.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003641/2.067, allocations: 144 kB / 1.289 GB, free: 64.04 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002021/2.069, allocations: 1.78 MB / 1.291 GB, free: 62.27 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.51e-07/2.069, allocations: 0 / 1.291 GB, free: 62.27 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006434/2.076, allocations: 2.465 MB / 1.293 GB, free: 59.8 MB / 0.7637 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.03576/2.112, allocations: 22.27 MB / 1.315 GB, free: 37.18 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.03154/2.143, allocations: 18.66 MB / 1.333 GB, free: 18.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/2.143, allocations: 4 kB / 1.333 GB, free: 18.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01704/2.16, allocations: 9.366 MB / 1.343 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006897/2.167, allocations: 1.38 MB / 1.344 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4205/2.588, allocations: 79.86 MB / 1.422 GB, free: 224.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006029/2.594, allocations: 4.893 MB / 1.427 GB, free: 222.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002809/2.597, allocations: 0.7485 MB / 1.427 GB, free: 222.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/2.599, allocations: 2.611 MB / 1.43 GB, free: 220.5 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/2.599, allocations: 0 / 1.43 GB, free: 220.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/2.836, allocations: 196.9 MB / 1.622 GB, free: 28.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/15.98, allocations: 15.42 kB / 1.622 GB, free: 28.23 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)