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.005699/0.005699, allocations: 96.72 kB / 15.73 MB, free: 6 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.00127/0.00127, allocations: 185.4 kB / 16.67 MB, free: 5.93 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 290.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 87.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1599, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3854/0.5453, allocations: 37.57 MB / 0.8031 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.5699, allocations: 13.04 MB / 0.8158 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004991/0.575, allocations: 171 kB / 0.816 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.5863, allocations: 3.881 MB / 0.8198 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008799/0.5951, allocations: 2.491 MB / 0.8222 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007753/0.6029, allocations: 2.709 MB / 0.8249 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.6158, allocations: 9.577 MB / 0.8342 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01724/0.6331, allocations: 10.5 MB / 0.8445 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/0.6412, allocations: 3.997 MB / 0.8484 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009278/0.6504, allocations: 4.376 MB / 0.8526 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002671/0.6531, allocations: 0.7734 MB / 0.8534 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.6592, allocations: 1.783 MB / 0.8551 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004839/0.6641, allocations: 3.029 MB / 0.8581 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007656/0.6718, allocations: 3.591 MB / 0.8616 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.6877, allocations: 11.88 MB / 0.8732 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.6877, allocations: 0 / 0.8732 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6878, allocations: 4 kB / 0.8732 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004502/0.6882, allocations: 0 / 0.8732 GB, free: 6.395 MB / 0.6231 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.01959/0.7078, allocations: 6.526 MB / 0.8796 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7079, allocations: 12.03 kB / 0.8796 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008724/0.7166, allocations: 1.324 MB / 0.8809 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.7245, allocations: 3.813 MB / 0.8846 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.7248, allocations: 378.4 kB / 0.885 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.7262, allocations: 0.5002 MB / 0.8855 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.7411, allocations: 8.89 MB / 0.8941 GB, free: 456 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.7412, allocations: 27.83 kB / 0.8942 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/0.7418, allocations: 219.9 kB / 0.8944 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.7439, allocations: 0.6382 MB / 0.895 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.7564, allocations: 7.01 MB / 0.9018 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05247/0.8089, allocations: 40.12 MB / 0.941 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.8153, allocations: 2.897 MB / 0.9439 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005385/0.8207, allocations: 2.659 MB / 0.9465 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.8211, allocations: 30.09 kB / 0.9465 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.753e-05/0.8212, allocations: 68.59 kB / 0.9465 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=265): time 9.367e-06/0.8212, allocations: 0 / 0.9465 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=424): time 0.3073/1.129, allocations: 74.78 MB / 1.02 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/1.129, allocations: 94.73 kB / 1.02 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/1.133, allocations: 2.359 MB / 1.022 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.133, allocations: 93.7 kB / 1.022 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.135, allocations: 2.406 MB / 1.024 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.137, allocations: 1.506 MB / 1.026 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/1.139, allocations: 0.7217 MB / 1.027 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/1.139, allocations: 305.1 kB / 1.027 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/1.144, allocations: 2.995 MB / 1.03 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/1.149, allocations: 3.847 MB / 1.034 GB, free: 13.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.159, allocations: 7.384 MB / 1.041 GB, free: 5.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.868e-05/1.159, allocations: 8 kB / 1.041 GB, free: 5.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02909/1.188, allocations: 12.57 MB / 1.053 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/1.188, allocations: 16.97 kB / 1.053 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/1.188, allocations: 20 kB / 1.053 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/1.211, allocations: 6.027 MB / 1.059 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/1.214, allocations: 495.2 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4614/1.675, allocations: 73.05 MB / 1.131 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004393/1.679, allocations: 219 kB / 1.131 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/1.68, allocations: 151.3 kB / 1.131 GB, free: 238.2 MB / 0.8419 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.00363/1.684, allocations: 1.995 MB / 1.133 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/1.685, allocations: 409.9 kB / 1.133 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02759/1.712, allocations: 12.23 MB / 1.145 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/1.712, allocations: 39.91 kB / 1.145 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001652/1.712, allocations: 48.72 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.712, allocations: 26.31 kB / 1.146 GB, free: 232.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03456/1.747, allocations: 19.14 MB / 1.164 GB, free: 224.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.747, allocations: 7.812 kB / 1.164 GB, free: 224.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.748, allocations: 294.2 kB / 1.165 GB, free: 224.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01828/1.767, allocations: 5.571 MB / 1.17 GB, free: 223.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003474/1.767, allocations: 79.25 kB / 1.17 GB, free: 223.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06188/1.829, allocations: 70.69 MB / 1.239 GB, free: 157.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.829, allocations: 11.94 kB / 1.239 GB, free: 157.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02545/1.854, allocations: 15.63 MB / 1.254 GB, free: 141.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.857, allocations: 1.065 MB / 1.255 GB, free: 140.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/1.857, allocations: 89.89 kB / 1.255 GB, free: 140.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.86, allocations: 215.7 kB / 1.256 GB, free: 140 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/1.861, allocations: 394.4 kB / 1.256 GB, free: 139.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.861, allocations: 112 kB / 1.256 GB, free: 139.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001735/1.863, allocations: 1.556 MB / 1.258 GB, free: 137.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/1.863, allocations: 0 / 1.258 GB, free: 137.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005258/1.868, allocations: 1.859 MB / 1.259 GB, free: 136.1 MB / 0.8419 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.0004227/1.869, allocations: 223.1 kB / 1.26 GB, free: 135.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01669/1.885, allocations: 12.24 MB / 1.272 GB, free: 123.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.885, allocations: 8.125 kB / 1.272 GB, free: 123.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/1.897, allocations: 8.388 MB / 1.28 GB, free: 114.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/1.902, allocations: 1.194 MB / 1.281 GB, free: 113.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.919, allocations: 12.36 MB / 1.293 GB, free: 101.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.922, allocations: 4.087 MB / 1.297 GB, free: 96.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001822/1.924, allocations: 0.6669 MB / 1.298 GB, free: 96.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/1.925, allocations: 179.4 kB / 1.298 GB, free: 96.11 MB / 0.8419 GB Notification: Performance of SimCode: time 6.71e-07/1.925, allocations: 0 / 1.298 GB, free: 96.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.1329/2.058, allocations: 110.8 MB / 1.406 GB, free: 2.43 MB / 0.8575 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)