Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001444/0.001444, allocations: 108 kB / 15.6 MB, free: 132 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.001691/0.001691, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 282.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9546/0.9546, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 92.41 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1495, allocations: 86.99 MB / 0.6803 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01138/0.1609, allocations: 10.07 MB / 0.6901 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.166, allocations: 3.175 MB / 0.6932 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.1667, allocations: 31.88 kB / 0.6933 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1683, allocations: 0.601 MB / 0.6939 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.1699, allocations: 0.731 MB / 0.6946 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1714, allocations: 0.7447 MB / 0.6953 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.1743, allocations: 2.996 MB / 0.6982 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.1772, allocations: 2.606 MB / 0.7008 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.1788, allocations: 1.246 MB / 0.702 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.1809, allocations: 1.558 MB / 0.7035 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.1814, allocations: 240 kB / 0.7037 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1825, allocations: 0.4994 MB / 0.7042 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.1838, allocations: 1.08 MB / 0.7053 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.1854, allocations: 1.105 MB / 0.7064 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.1891, allocations: 3.669 MB / 0.7099 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1891, allocations: 0 / 0.7099 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1891, allocations: 0 / 0.7099 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.1891, allocations: 0 / 0.7099 GB, free: 2.086 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003587/0.1927, allocations: 2.138 MB / 0.712 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1928, allocations: 12.03 kB / 0.712 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/0.1931, allocations: 257.2 kB / 0.7123 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008845/0.202, allocations: 1.313 MB / 0.7136 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.204, allocations: 1.251 MB / 0.7148 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.2041, allocations: 119.4 kB / 0.7149 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.2044, allocations: 148.3 kB / 0.715 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.2091, allocations: 3.437 MB / 0.7184 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.2092, allocations: 11.88 kB / 0.7184 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.2094, allocations: 63.97 kB / 0.7185 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.2096, allocations: 207.1 kB / 0.7187 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004448/0.2141, allocations: 3.131 MB / 0.7217 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.2302, allocations: 13.62 MB / 0.735 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.2326, allocations: 1.731 MB / 0.7367 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.2345, allocations: 1.44 MB / 0.7381 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.2346, allocations: 12.98 kB / 0.7381 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2346, allocations: 43.56 kB / 0.7382 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.2347, allocations: 3.938 kB / 0.7382 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.3857/0.6203, allocations: 36.66 MB / 0.774 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.6204, allocations: 72.75 kB / 0.7741 GB, free: 88.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.622, allocations: 1.051 MB / 0.7751 GB, free: 88.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/0.6224, allocations: 53.45 kB / 0.7751 GB, free: 88.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.6229, allocations: 0.7949 MB / 0.7759 GB, free: 88.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000585/0.6235, allocations: 0.6189 MB / 0.7765 GB, free: 88.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/0.6243, allocations: 366.1 kB / 0.7769 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.6243, allocations: 307.4 kB / 0.7772 GB, free: 87.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.6269, allocations: 1.933 MB / 0.779 GB, free: 87.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.6304, allocations: 2.29 MB / 0.7813 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/0.6355, allocations: 4.386 MB / 0.7856 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.6355, allocations: 2.875 kB / 0.7856 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0192/0.6548, allocations: 9.027 MB / 0.7944 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.6548, allocations: 9.062 kB / 0.7944 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.6549, allocations: 9.375 kB / 0.7944 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01671/0.6716, allocations: 5.01 MB / 0.7993 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.6726, allocations: 187.3 kB / 0.7995 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04819/0.7208, allocations: 38.92 MB / 0.8375 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.7229, allocations: 103.8 kB / 0.8376 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/0.7233, allocations: 67.98 kB / 0.8376 GB, free: 49.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00168/0.725, allocations: 0.8023 MB / 0.8384 GB, free: 48.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/0.7256, allocations: 142.3 kB / 0.8386 GB, free: 48.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/0.7436, allocations: 8.89 MB / 0.8472 GB, free: 39.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.7437, allocations: 20 kB / 0.8473 GB, free: 39.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-05/0.7437, allocations: 28 kB / 0.8473 GB, free: 39.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/0.7438, allocations: 15.95 kB / 0.8473 GB, free: 39.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02399/0.7678, allocations: 13.31 MB / 0.8603 GB, free: 26.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.7678, allocations: 4 kB / 0.8603 GB, free: 26.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.7683, allocations: 119.8 kB / 0.8604 GB, free: 25.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/0.7839, allocations: 4.785 MB / 0.8651 GB, free: 21.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/0.7843, allocations: 35.98 kB / 0.8651 GB, free: 21.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04854/0.8328, allocations: 34.86 MB / 0.8992 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.8329, allocations: 7.938 kB / 0.8992 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/0.8524, allocations: 8.396 MB / 0.9074 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.8537, allocations: 0.6124 MB / 0.908 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/0.8542, allocations: 39.84 kB / 0.908 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.8557, allocations: 95.89 kB / 0.9081 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008005/0.8565, allocations: 169.3 kB / 0.9083 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.8566, allocations: 44 kB / 0.9083 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001082/0.8577, allocations: 0.741 MB / 0.909 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8577, allocations: 0 / 0.909 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003169/0.8609, allocations: 1.008 MB / 0.91 GB, free: 6.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01922/0.8802, allocations: 8.989 MB / 0.9188 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01125/0.8914, allocations: 6.693 MB / 0.9253 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8915, allocations: 0 / 0.9253 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007903/0.8994, allocations: 3.842 MB / 0.9291 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.9012, allocations: 233.6 kB / 0.9293 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05817/0.9594, allocations: 31.71 MB / 0.9603 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.9615, allocations: 1.861 MB / 0.9621 GB, free: 148 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009267/0.9625, allocations: 355 kB / 0.9624 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.9632, allocations: 0.6086 MB / 0.963 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of SimCode: time 1.162e-06/0.9632, allocations: 0 / 0.963 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1614/1.125, allocations: 74.19 MB / 1.035 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/10.78, allocations: 8.25 kB / 1.035 GB, free: 5.398 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)