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.001185/0.001185, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001216/0.001216, allocations: 196 kB / 17.31 MB, free: 5.613 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.253/1.253, 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.002078/0.002078, allocations: 283.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8967/0.8967, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 100.6 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1659, allocations: 86.97 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.311/0.477, allocations: 37.57 MB / 0.7183 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02619/0.5032, allocations: 13.03 MB / 0.731 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/0.5099, allocations: 171.5 kB / 0.7312 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.5201, allocations: 3.886 MB / 0.735 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.5282, allocations: 2.491 MB / 0.7374 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008015/0.5362, allocations: 2.702 MB / 0.7401 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.5491, allocations: 9.581 MB / 0.7494 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.5636, allocations: 10.49 MB / 0.7597 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007218/0.5708, allocations: 3.992 MB / 0.7636 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00742/0.5782, allocations: 4.377 MB / 0.7678 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002449/0.5807, allocations: 0.7734 MB / 0.7686 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.5859, allocations: 1.783 MB / 0.7703 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005182/0.5911, allocations: 3.037 MB / 0.7733 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007906/0.599, allocations: 3.579 MB / 0.7768 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.6135, allocations: 11.85 MB / 0.7884 GB, free: 2.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6135, allocations: 0 / 0.7884 GB, free: 2.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6135, allocations: 0 / 0.7884 GB, free: 2.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003154/0.6138, allocations: 0 / 0.7884 GB, free: 2.086 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.01542/0.6293, allocations: 6.354 MB / 0.7946 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6293, allocations: 8.031 kB / 0.7946 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008009/0.6373, allocations: 1.305 MB / 0.7959 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/0.646, allocations: 3.779 MB / 0.7996 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6463, allocations: 386.5 kB / 0.7999 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.6478, allocations: 0.504 MB / 0.8004 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.6635, allocations: 8.882 MB / 0.8091 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.6637, allocations: 27.78 kB / 0.8091 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.6647, allocations: 223.9 kB / 0.8093 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.6667, allocations: 0.6304 MB / 0.8099 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.6809, allocations: 7.018 MB / 0.8168 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04955/0.7305, allocations: 40.06 MB / 0.8559 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.7348, allocations: 2.895 MB / 0.8587 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.7383, allocations: 2.667 MB / 0.8613 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.7385, allocations: 30.03 kB / 0.8614 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.7386, allocations: 72.53 kB / 0.8614 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=265): time 4.338e-06/0.7386, allocations: 0 / 0.8614 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=424): time 0.2616/1, allocations: 74.66 MB / 0.9344 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1, allocations: 94.73 kB / 0.9344 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.004, allocations: 2.355 MB / 0.9367 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006299/1.004, allocations: 97.7 kB / 0.9368 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.006, allocations: 2.337 MB / 0.9391 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.007, allocations: 1.432 MB / 0.9405 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/1.008, allocations: 0.7254 MB / 0.9412 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/1.009, allocations: 309 kB / 0.9415 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/1.013, allocations: 3.003 MB / 0.9445 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004705/1.017, allocations: 3.843 MB / 0.9482 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009345/1.027, allocations: 7.384 MB / 0.9554 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.027, allocations: 8 kB / 0.9554 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.2934/1.32, allocations: 12.55 MB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.32, allocations: 14.5 kB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/1.32, allocations: 24.94 kB / 0.9677 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/1.342, allocations: 6.032 MB / 0.9736 GB, free: 224.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.344, allocations: 494.6 kB / 0.9741 GB, free: 224.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06923/1.414, allocations: 72.97 MB / 1.045 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.417, allocations: 229.8 kB / 1.046 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/1.418, allocations: 160.1 kB / 1.046 GB, free: 171 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.002463/1.42, allocations: 1.987 MB / 1.048 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/1.421, allocations: 395.4 kB / 1.048 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/1.444, allocations: 12.23 MB / 1.06 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/1.444, allocations: 40 kB / 1.06 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001395/1.444, allocations: 48 kB / 1.06 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/1.444, allocations: 23.86 kB / 1.06 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03301/1.477, allocations: 19.13 MB / 1.079 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.477, allocations: 4.938 kB / 1.079 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.479, allocations: 291.5 kB / 1.079 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01847/1.497, allocations: 5.582 MB / 1.084 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000707/1.498, allocations: 87.98 kB / 1.085 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06252/1.56, allocations: 70.61 MB / 1.154 GB, free: 56.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.56, allocations: 15.92 kB / 1.154 GB, free: 56.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/1.586, allocations: 15.61 MB / 1.169 GB, free: 41.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/1.588, allocations: 1.047 MB / 1.17 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/1.589, allocations: 87.92 kB / 1.17 GB, free: 39.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.591, allocations: 211.7 kB / 1.17 GB, free: 39.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/1.592, allocations: 402.3 kB / 1.17 GB, free: 39.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.593, allocations: 112 kB / 1.171 GB, free: 39.17 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001681/1.594, allocations: 1.557 MB / 1.172 GB, free: 37.61 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.594, allocations: 0 / 1.172 GB, free: 37.61 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004871/1.599, allocations: 1.859 MB / 1.174 GB, free: 35.75 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.0004324/1.6, allocations: 211.5 kB / 1.174 GB, free: 35.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.616, allocations: 12.21 MB / 1.186 GB, free: 23.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.616, allocations: 4.938 kB / 1.186 GB, free: 23.03 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01199/1.628, allocations: 8.362 MB / 1.194 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.633, allocations: 1.199 MB / 1.195 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.649, allocations: 12.19 MB / 1.207 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004367/1.654, allocations: 4.093 MB / 1.211 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002199/1.656, allocations: 0.6746 MB / 1.212 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/1.656, allocations: 179.4 kB / 1.212 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 8.91e-07/1.656, allocations: 0 / 1.212 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.4391/2.095, allocations: 109.1 MB / 1.319 GB, free: 191.5 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)