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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001259/0.001259, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 278.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 98.23 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1739, allocations: 89.15 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01287/0.1868, allocations: 10.05 MB / 0.7026 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005676/0.1925, allocations: 3.178 MB / 0.7057 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.1931, allocations: 31.81 kB / 0.7058 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.1946, allocations: 0.5329 MB / 0.7063 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.1962, allocations: 0.7081 MB / 0.707 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1977, allocations: 0.6895 MB / 0.7076 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.2025, allocations: 4.474 MB / 0.712 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004247/0.2067, allocations: 2.843 MB / 0.7148 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.2086, allocations: 1.055 MB / 0.7158 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.211, allocations: 1.624 MB / 0.7174 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.2114, allocations: 160 kB / 0.7176 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.2126, allocations: 0.4993 MB / 0.718 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.2138, allocations: 1.006 MB / 0.719 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.215, allocations: 1.027 MB / 0.72 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.2187, allocations: 3.626 MB / 0.7236 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2187, allocations: 0 / 0.7236 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2187, allocations: 0 / 0.7236 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-05/0.2188, allocations: 0 / 0.7236 GB, free: 5.188 MB / 0.5137 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.003985/0.2228, allocations: 2.146 MB / 0.7257 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2228, allocations: 12.03 kB / 0.7257 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009121/0.232, allocations: 1.309 MB / 0.7269 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.2348, allocations: 1.251 MB / 0.7282 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2349, allocations: 115.3 kB / 0.7283 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.2353, allocations: 156.3 kB / 0.7284 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005791/0.2411, allocations: 3.429 MB / 0.7318 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.2412, allocations: 7.938 kB / 0.7318 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.2414, allocations: 71.97 kB / 0.7319 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/0.2417, allocations: 203.1 kB / 0.732 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.247, allocations: 3.128 MB / 0.7351 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.2655, allocations: 13.62 MB / 0.7484 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.2683, allocations: 1.731 MB / 0.7501 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.2705, allocations: 1.44 MB / 0.7515 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.2706, allocations: 9 kB / 0.7515 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.2707, allocations: 47.5 kB / 0.7516 GB, free: 7.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.2707, allocations: 0 / 0.7516 GB, free: 7.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=183): time 0.4595/0.7302, allocations: 36.66 MB / 0.7874 GB, free: 58.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.7303, allocations: 74.72 kB / 0.7874 GB, free: 58.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.7318, allocations: 1.066 MB / 0.7885 GB, free: 58.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.7322, allocations: 53.64 kB / 0.7885 GB, free: 58.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.7326, allocations: 0.7889 MB / 0.7893 GB, free: 57.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/0.7332, allocations: 0.618 MB / 0.7899 GB, free: 56.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009297/0.7341, allocations: 360.6 kB / 0.7902 GB, free: 56.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.7342, allocations: 305.1 kB / 0.7905 GB, free: 56.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.7366, allocations: 1.932 MB / 0.7924 GB, free: 55.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.739, allocations: 2.287 MB / 0.7947 GB, free: 54.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004675/0.7437, allocations: 4.397 MB / 0.7989 GB, free: 49.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.7437, allocations: 4 kB / 0.7989 GB, free: 49.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01787/0.7616, allocations: 9.009 MB / 0.8077 GB, free: 40.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.7617, allocations: 8 kB / 0.8078 GB, free: 40.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7617, allocations: 12 kB / 0.8078 GB, free: 40.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/0.7777, allocations: 4.981 MB / 0.8126 GB, free: 35.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/0.7786, allocations: 187.7 kB / 0.8128 GB, free: 35.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04438/0.823, allocations: 35.28 MB / 0.8473 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.8251, allocations: 106.5 kB / 0.8474 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.8254, allocations: 68 kB / 0.8474 GB, free: 15.75 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.001481/0.8269, allocations: 0.8029 MB / 0.8482 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.8273, allocations: 142.2 kB / 0.8483 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/0.8478, allocations: 8.89 MB / 0.857 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.8479, allocations: 31.92 kB / 0.8571 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001065/0.848, allocations: 28 kB / 0.8571 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/0.8481, allocations: 7.969 kB / 0.8571 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02906/0.8771, allocations: 13.3 MB / 0.8701 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.8772, allocations: 4 kB / 0.8701 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.8778, allocations: 119.8 kB / 0.8702 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01705/0.8948, allocations: 4.764 MB / 0.8749 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/0.8952, allocations: 36 kB / 0.8749 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05217/0.9474, allocations: 31.56 MB / 0.9057 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.9474, allocations: 7.938 kB / 0.9057 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/0.9675, allocations: 8.398 MB / 0.9139 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.969, allocations: 0.6085 MB / 0.9145 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/0.9694, allocations: 43.92 kB / 0.9146 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.9706, allocations: 97.45 kB / 0.9146 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009148/0.9716, allocations: 157.6 kB / 0.9148 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.9717, allocations: 51.75 kB / 0.9148 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001121/0.9729, allocations: 0.7382 MB / 0.9156 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9729, allocations: 0 / 0.9156 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003417/0.9763, allocations: 1.008 MB / 0.9166 GB, free: 8.148 MB / 0.6231 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.0003088/0.9766, allocations: 148.2 kB / 0.9167 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01078/0.9874, allocations: 5.863 MB / 0.9224 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9874, allocations: 0 / 0.9224 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/0.9957, allocations: 3.826 MB / 0.9262 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.9973, allocations: 226.7 kB / 0.9264 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009321/1.007, allocations: 5.814 MB / 0.9321 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.009, allocations: 1.855 MB / 0.9339 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008974/1.009, allocations: 348.4 kB / 0.9342 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/1.01, allocations: 67.36 kB / 0.9343 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/1.01, allocations: 4 kB / 0.9343 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of Templates: time 0.09382/1.103, allocations: 57.86 MB / 0.9908 GB, free: 12.17 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)