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.001568/0.001568, allocations: 103.4 kB / 15.98 MB, free: 6.355 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.001544/0.001544, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 290.1 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.218/1.218, allocations: 178.5 MB / 0.5076 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 99.84 kB / 0.6066 GB, free: 9.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1867, allocations: 89.14 MB / 0.6936 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.2902/0.4769, allocations: 37.23 MB / 0.73 GB, free: 33.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.4929, allocations: 12.95 MB / 0.7426 GB, free: 24.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.4962, allocations: 155.2 kB / 0.7428 GB, free: 24.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007561/0.5037, allocations: 3.631 MB / 0.7463 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005793/0.5096, allocations: 2.304 MB / 0.7486 GB, free: 21.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/0.515, allocations: 2.472 MB / 0.751 GB, free: 19.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008946/0.524, allocations: 9.603 MB / 0.7604 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01621/0.5402, allocations: 12.74 MB / 0.7728 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00718/0.5474, allocations: 4.06 MB / 0.7768 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007881/0.5553, allocations: 4.585 MB / 0.7813 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002931/0.5583, allocations: 0.7705 MB / 0.782 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.5638, allocations: 1.777 MB / 0.7837 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.5691, allocations: 3.035 MB / 0.7867 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007987/0.5771, allocations: 3.585 MB / 0.7902 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.5904, allocations: 10.08 MB / 0.8001 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5904, allocations: 1.219 kB / 0.8001 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5904, allocations: 0 / 0.8001 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003644/0.5908, allocations: 0 / 0.8001 GB, free: 13.81 MB / 0.5606 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.01902/0.6098, allocations: 6.354 MB / 0.8063 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6099, allocations: 12.03 kB / 0.8063 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009456/0.6193, allocations: 1.305 MB / 0.8076 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008096/0.6275, allocations: 3.564 MB / 0.811 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.6279, allocations: 386.5 kB / 0.8114 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.6298, allocations: 0.5001 MB / 0.8119 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.6493, allocations: 8.882 MB / 0.8206 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/0.6495, allocations: 27.77 kB / 0.8206 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.6506, allocations: 227.9 kB / 0.8208 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.6528, allocations: 0.6265 MB / 0.8214 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.6681, allocations: 7.014 MB / 0.8283 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05703/0.7251, allocations: 40.32 MB / 0.8676 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.73, allocations: 2.898 MB / 0.8705 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/0.7345, allocations: 2.667 MB / 0.8731 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.7348, allocations: 26.09 kB / 0.8731 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/0.7349, allocations: 72.59 kB / 0.8732 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=265): time 4.118e-06/0.7349, allocations: 0 / 0.8732 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=424): time 0.2993/1.034, allocations: 74.71 MB / 0.9461 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.034, allocations: 98.67 kB / 0.9462 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/1.038, allocations: 2.355 MB / 0.9485 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008257/1.039, allocations: 101.7 kB / 0.9486 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/1.04, allocations: 2.337 MB / 0.9509 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/1.042, allocations: 1.44 MB / 0.9523 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/1.044, allocations: 0.7215 MB / 0.953 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.044, allocations: 305.1 kB / 0.9533 GB, free: 14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004722/1.049, allocations: 2.999 MB / 0.9562 GB, free: 11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005416/1.054, allocations: 3.839 MB / 0.96 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.065, allocations: 7.384 MB / 0.9672 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/1.065, allocations: 8 kB / 0.9672 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03107/1.096, allocations: 12.56 MB / 0.9795 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/1.096, allocations: 16 kB / 0.9795 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/1.096, allocations: 24 kB / 0.9795 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2906/1.387, allocations: 6.067 MB / 0.9854 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.389, allocations: 495.4 kB / 0.9859 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07136/1.46, allocations: 73.04 MB / 1.057 GB, free: 166.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.465, allocations: 214.1 kB / 1.057 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006923/1.465, allocations: 155.6 kB / 1.058 GB, free: 166 MB / 0.7325 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.00374/1.469, allocations: 1.991 MB / 1.06 GB, free: 165.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009174/1.47, allocations: 390.8 kB / 1.06 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02835/1.498, allocations: 12.24 MB / 1.072 GB, free: 160 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/1.498, allocations: 40.12 kB / 1.072 GB, free: 160 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001617/1.499, allocations: 48.16 kB / 1.072 GB, free: 160 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.82e-05/1.499, allocations: 24.89 kB / 1.072 GB, free: 160 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03513/1.534, allocations: 19.15 MB / 1.091 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/1.534, allocations: 7.844 kB / 1.091 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.535, allocations: 289.8 kB / 1.091 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/1.555, allocations: 5.627 MB / 1.096 GB, free: 150.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006011/1.556, allocations: 82.28 kB / 1.097 GB, free: 150.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06327/1.619, allocations: 70.66 MB / 1.166 GB, free: 77.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.619, allocations: 15.88 kB / 1.166 GB, free: 77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02765/1.647, allocations: 15.61 MB / 1.181 GB, free: 61.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.649, allocations: 1.043 MB / 1.182 GB, free: 60.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/1.65, allocations: 87.78 kB / 1.182 GB, free: 60.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/1.652, allocations: 215.7 kB / 1.182 GB, free: 59.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.654, allocations: 406.2 kB / 1.182 GB, free: 59.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.654, allocations: 108 kB / 1.183 GB, free: 59.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001704/1.656, allocations: 1.553 MB / 1.184 GB, free: 57.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.656, allocations: 0 / 1.184 GB, free: 57.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0056/1.661, allocations: 1.867 MB / 1.186 GB, free: 55.88 MB / 0.7325 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.0004906/1.662, allocations: 210.8 kB / 1.186 GB, free: 55.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02319/1.685, allocations: 14.98 MB / 1.201 GB, free: 40.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.685, allocations: 4 kB / 1.201 GB, free: 40.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01261/1.698, allocations: 8.359 MB / 1.209 GB, free: 31.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005206/1.703, allocations: 1.203 MB / 1.21 GB, free: 30.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/1.721, allocations: 15.53 MB / 1.225 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/1.725, allocations: 4.161 MB / 1.229 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/1.726, allocations: 195.4 kB / 1.23 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.726, allocations: 0 / 1.23 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of Templates: time 1.253/2.979, allocations: 0.7437 GB / 1.973 GB, free: 183.2 MB / 0.795 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)