Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001275/0.001275, 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.001325/0.001325, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 294.7 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.9791/0.9791, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 106.2 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 86.99 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02479/0.1807, allocations: 20.22 MB / 0.7001 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1918, allocations: 6.446 MB / 0.7063 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.1933, allocations: 83.62 kB / 0.7064 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005186/0.1985, allocations: 2.242 MB / 0.7086 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.2012, allocations: 1.177 MB / 0.7098 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.2041, allocations: 1.289 MB / 0.711 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005083/0.2092, allocations: 4.858 MB / 0.7158 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006294/0.2155, allocations: 5.638 MB / 0.7213 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.2183, allocations: 2.076 MB / 0.7233 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.2212, allocations: 2.336 MB / 0.7256 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005911/0.2218, allocations: 432 kB / 0.726 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2236, allocations: 1.003 MB / 0.727 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.2252, allocations: 1.672 MB / 0.7286 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.2271, allocations: 1.91 MB / 0.7305 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.2329, allocations: 6.478 MB / 0.7368 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.233, allocations: 0 / 0.7368 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.233, allocations: 0 / 0.7368 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.583e-05/0.2331, allocations: 0 / 0.7368 GB, free: 6.559 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006248/0.2393, allocations: 3.452 MB / 0.7402 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2394, allocations: 12.03 kB / 0.7402 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005847/0.24, allocations: 454.6 kB / 0.7406 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.2432, allocations: 0.6449 MB / 0.7412 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.2464, allocations: 1.94 MB / 0.7431 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2466, allocations: 226.2 kB / 0.7434 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004652/0.2471, allocations: 296 kB / 0.7436 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/0.2546, allocations: 4.882 MB / 0.7484 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/0.2547, allocations: 11.92 kB / 0.7484 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/0.255, allocations: 132 kB / 0.7485 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004155/0.2554, allocations: 229.7 kB / 0.7488 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005708/0.2611, allocations: 3.75 MB / 0.7524 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2806/0.5417, allocations: 21.56 MB / 0.7735 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.5438, allocations: 1.306 MB / 0.7748 GB, free: 84.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.5455, allocations: 1.049 MB / 0.7758 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.5456, allocations: 11.94 kB / 0.7758 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.5456, allocations: 46.94 kB / 0.7758 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 4.969e-06/0.5457, allocations: 0.7656 kB / 0.7758 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02376/0.5694, allocations: 8.658 MB / 0.7843 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5695, allocations: 73.62 kB / 0.7844 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.571, allocations: 1.124 MB / 0.7855 GB, free: 82.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.142e-05/0.5711, allocations: 48.83 kB / 0.7855 GB, free: 82.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006613/0.5717, allocations: 1.298 MB / 0.7868 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.5721, allocations: 480.9 kB / 0.7872 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.5725, allocations: 289.9 kB / 0.7875 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.5725, allocations: 301.6 kB / 0.7878 GB, free: 80.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.5737, allocations: 0.9133 MB / 0.7887 GB, free: 80.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.575, allocations: 1.324 MB / 0.79 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.5777, allocations: 2.425 MB / 0.7923 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5777, allocations: 2.344 kB / 0.7923 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005763/0.5834, allocations: 3.47 MB / 0.7957 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5835, allocations: 13.44 kB / 0.7958 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.5835, allocations: 17.28 kB / 0.7958 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.5865, allocations: 1.195 MB / 0.7969 GB, free: 76.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.5873, allocations: 254.9 kB / 0.7972 GB, free: 76.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.6016, allocations: 13.84 MB / 0.8107 GB, free: 66.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6029, allocations: 99 kB / 0.8108 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.603, allocations: 59.5 kB / 0.8108 GB, free: 66.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.6043, allocations: 1.122 MB / 0.8119 GB, free: 66.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.6046, allocations: 164.7 kB / 0.8121 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.6091, allocations: 3.17 MB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6092, allocations: 13.5 kB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.6092, allocations: 12.03 kB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.6092, allocations: 3.984 kB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/0.6175, allocations: 6.254 MB / 0.8213 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.6175, allocations: 6.375 kB / 0.8213 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.618, allocations: 151.6 kB / 0.8215 GB, free: 60.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.6204, allocations: 1.079 MB / 0.8225 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.6205, allocations: 32.5 kB / 0.8226 GB, free: 59.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.6326, allocations: 13.54 MB / 0.8358 GB, free: 46.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6327, allocations: 7.938 kB / 0.8358 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.6368, allocations: 3.154 MB / 0.8389 GB, free: 42.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.6375, allocations: 427 kB / 0.8393 GB, free: 42.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.6377, allocations: 32 kB / 0.8393 GB, free: 42.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/0.6384, allocations: 79.89 kB / 0.8394 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.6389, allocations: 132.7 kB / 0.8395 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.639, allocations: 39.94 kB / 0.8395 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008238/0.6398, allocations: 0.7632 MB / 0.8403 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6398, allocations: 0 / 0.8403 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001709/0.6415, allocations: 0.6641 MB / 0.8409 GB, free: 40.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004151/0.6457, allocations: 3.732 MB / 0.8446 GB, free: 36.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004588/0.6503, allocations: 3.633 MB / 0.8481 GB, free: 33.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.6503, allocations: 0 / 0.8481 GB, free: 33.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.6527, allocations: 1.963 MB / 0.8501 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.6548, allocations: 0.5034 MB / 0.8505 GB, free: 30.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.6786, allocations: 20.09 MB / 0.8702 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.6802, allocations: 2.332 MB / 0.8724 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009348/0.6812, allocations: 359.2 kB / 0.8728 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/0.682, allocations: 1.011 MB / 0.8738 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.682, allocations: 0 / 0.8738 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.7839, allocations: 51.47 MB / 0.924 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.85, allocations: 19.94 kB / 0.9241 GB, free: 3.258 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)