Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.001135/0.001135, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 287.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 98.53 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1579, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.2901/0.448, allocations: 37.57 MB / 0.7183 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.4712, allocations: 13.04 MB / 0.731 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/0.4759, allocations: 171.8 kB / 0.7312 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.4861, allocations: 3.885 MB / 0.735 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00768/0.4938, allocations: 2.487 MB / 0.7374 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007845/0.5017, allocations: 2.716 MB / 0.7401 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.5145, allocations: 9.574 MB / 0.7494 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.5271, allocations: 10.5 MB / 0.7597 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006873/0.534, allocations: 3.984 MB / 0.7636 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007382/0.5414, allocations: 4.381 MB / 0.7678 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003005/0.5444, allocations: 0.7695 MB / 0.7686 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.5493, allocations: 1.783 MB / 0.7703 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003091/0.5524, allocations: 3.033 MB / 0.7733 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.006989/0.5594, allocations: 3.591 MB / 0.7768 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.5781, allocations: 11.85 MB / 0.7884 GB, free: 2.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5781, allocations: 0 / 0.7884 GB, free: 2.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5781, allocations: 0 / 0.7884 GB, free: 2.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003295/0.5785, allocations: 0 / 0.7884 GB, free: 2.145 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01689/0.5954, allocations: 6.358 MB / 0.7946 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5954, allocations: 12.03 kB / 0.7946 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008818/0.6042, allocations: 1.297 MB / 0.7959 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008592/0.6129, allocations: 3.787 MB / 0.7996 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.6133, allocations: 382.5 kB / 0.7999 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/0.615, allocations: 0.5001 MB / 0.8004 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.6342, allocations: 8.886 MB / 0.8091 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/0.6345, allocations: 27.78 kB / 0.8091 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.6361, allocations: 223.9 kB / 0.8093 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.6383, allocations: 0.6342 MB / 0.8099 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.6529, allocations: 7.01 MB / 0.8168 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05114/0.7041, allocations: 40.06 MB / 0.8559 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/0.7087, allocations: 2.888 MB / 0.8587 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004083/0.7128, allocations: 2.667 MB / 0.8613 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.7132, allocations: 34.08 kB / 0.8614 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/0.7132, allocations: 76.53 kB / 0.8614 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=265): time 5.881e-06/0.7133, allocations: 0 / 0.8614 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=424): time 0.2813/0.9946, allocations: 74.66 MB / 0.9344 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.9947, allocations: 94.73 kB / 0.9344 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/0.9977, allocations: 2.355 MB / 0.9367 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006558/0.9984, allocations: 97.7 kB / 0.9368 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.9997, allocations: 2.333 MB / 0.9391 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.001, allocations: 1.436 MB / 0.9405 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/1.002, allocations: 0.7215 MB / 0.9412 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/1.002, allocations: 305.1 kB / 0.9415 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.007, allocations: 3.003 MB / 0.9444 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/1.011, allocations: 3.843 MB / 0.9482 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/1.021, allocations: 7.387 MB / 0.9554 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.021, allocations: 4 kB / 0.9554 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.3017/1.323, allocations: 12.56 MB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/1.323, allocations: 14.31 kB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/1.323, allocations: 22.44 kB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02318/1.346, allocations: 6.026 MB / 0.9736 GB, free: 224.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.349, allocations: 494.2 kB / 0.9741 GB, free: 224.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07115/1.42, allocations: 72.98 MB / 1.045 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/1.423, allocations: 220 kB / 1.046 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/1.424, allocations: 154 kB / 1.046 GB, free: 171.1 MB / 0.7169 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002727/1.427, allocations: 1.994 MB / 1.048 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/1.427, allocations: 391.4 kB / 1.048 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02403/1.451, allocations: 12.23 MB / 1.06 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/1.451, allocations: 43.94 kB / 1.06 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000126/1.452, allocations: 48 kB / 1.06 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.456e-05/1.452, allocations: 27.69 kB / 1.06 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/1.486, allocations: 19.13 MB / 1.079 GB, free: 136.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/1.486, allocations: 8 kB / 1.079 GB, free: 136.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.488, allocations: 291.7 kB / 1.079 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01937/1.507, allocations: 5.58 MB / 1.084 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007476/1.508, allocations: 76 kB / 1.085 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06496/1.573, allocations: 70.62 MB / 1.154 GB, free: 56.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.573, allocations: 11.94 kB / 1.154 GB, free: 56.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.599, allocations: 15.6 MB / 1.169 GB, free: 41.14 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.601, allocations: 1.047 MB / 1.17 GB, free: 40.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/1.602, allocations: 91.83 kB / 1.17 GB, free: 39.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.604, allocations: 215.7 kB / 1.17 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/1.606, allocations: 398.3 kB / 1.17 GB, free: 39.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.606, allocations: 108.6 kB / 1.171 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001658/1.607, allocations: 1.56 MB / 1.172 GB, free: 37.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.607, allocations: 0 / 1.172 GB, free: 37.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004694/1.612, allocations: 1.859 MB / 1.174 GB, free: 35.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/1.613, allocations: 215.5 kB / 1.174 GB, free: 35.63 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01732/1.63, allocations: 12.22 MB / 1.186 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.63, allocations: 0 / 1.186 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/1.643, allocations: 8.363 MB / 1.194 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/1.647, allocations: 1.19 MB / 1.195 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.663, allocations: 12.18 MB / 1.207 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.667, allocations: 4.094 MB / 1.211 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002139/1.67, allocations: 0.6708 MB / 1.212 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.67, allocations: 183.4 kB / 1.212 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.67, allocations: 0 / 1.212 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.4038/2.074, allocations: 109.1 MB / 1.319 GB, free: 191.2 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)