Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001828/0.001828, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 294.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 91.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.5726, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04846/0.6211, allocations: 41.16 MB / 0.8073 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.6503, allocations: 15.08 MB / 0.822 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005302/0.6557, allocations: 187.1 kB / 0.8222 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.6681, allocations: 4.465 MB / 0.8265 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009018/0.6772, allocations: 2.794 MB / 0.8293 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008228/0.6854, allocations: 3.149 MB / 0.8323 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.7003, allocations: 11.41 MB / 0.8435 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01909/0.7195, allocations: 12.47 MB / 0.8557 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009676/0.7292, allocations: 4.907 MB / 0.8605 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009776/0.739, allocations: 5.386 MB / 0.8657 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003443/0.7425, allocations: 0.9492 MB / 0.8666 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006446/0.749, allocations: 2.033 MB / 0.8686 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005978/0.755, allocations: 3.699 MB / 0.8722 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008575/0.7636, allocations: 4.295 MB / 0.8764 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.7811, allocations: 14.28 MB / 0.8904 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7812, allocations: 0 / 0.8904 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7812, allocations: 0 / 0.8904 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004175/0.7816, allocations: 0 / 0.8904 GB, free: 5.195 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02315/0.8047, allocations: 7.608 MB / 0.8978 GB, free: 13.5 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.8048, allocations: 12.03 kB / 0.8978 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.816, allocations: 1.518 MB / 0.8993 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009946/0.826, allocations: 4.439 MB / 0.9036 GB, free: 7.449 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005693/0.8266, allocations: 464.4 kB / 0.9041 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002928/0.8295, allocations: 0.5978 MB / 0.9047 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03212/0.8617, allocations: 10.69 MB / 0.9151 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004049/0.8621, allocations: 19.78 kB / 0.9151 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00312/0.8653, allocations: 267.9 kB / 0.9154 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/0.8702, allocations: 0.7768 MB / 0.9161 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.8985, allocations: 8.561 MB / 0.9245 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4751/1.374, allocations: 46.53 MB / 0.9699 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/1.381, allocations: 4.316 MB / 0.9741 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006246/1.387, allocations: 3.711 MB / 0.9778 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/1.388, allocations: 35.78 kB / 0.9778 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.388, allocations: 78.66 kB / 0.9779 GB, free: 171 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 4.819e-06/1.388, allocations: 2.156 kB / 0.9779 GB, free: 171 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4767/1.864, allocations: 122.8 MB / 1.098 GB, free: 65.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.864, allocations: 111.9 kB / 1.098 GB, free: 65.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/1.867, allocations: 2.681 MB / 1.101 GB, free: 63.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009504/1.868, allocations: 121.7 kB / 1.101 GB, free: 63.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.869, allocations: 2.674 MB / 1.103 GB, free: 60.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.871, allocations: 1.953 MB / 1.105 GB, free: 58.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/1.873, allocations: 0.9248 MB / 1.106 GB, free: 57.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.381e-05/1.873, allocations: 305.1 kB / 1.106 GB, free: 57.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/1.877, allocations: 4.086 MB / 1.11 GB, free: 53.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005063/1.882, allocations: 5.019 MB / 1.115 GB, free: 47.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.893, allocations: 9.84 MB / 1.125 GB, free: 37.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.893, allocations: 8 kB / 1.125 GB, free: 37.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03415/1.927, allocations: 17 MB / 1.141 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.927, allocations: 16 kB / 1.141 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/1.927, allocations: 20 kB / 1.141 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02949/1.957, allocations: 9.089 MB / 1.15 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/1.959, allocations: 0.5187 MB / 1.151 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1141/2.073, allocations: 76.97 MB / 1.226 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005371/2.079, allocations: 279.7 kB / 1.226 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/2.08, allocations: 188 kB / 1.226 GB, free: 11.73 MB / 0.8106 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005595/2.086, allocations: 2.428 MB / 1.229 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.087, allocations: 474.4 kB / 1.229 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04204/2.13, allocations: 16.82 MB / 1.246 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/2.13, allocations: 52 kB / 1.246 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002233/2.13, allocations: 72 kB / 1.246 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001267/2.13, allocations: 31.95 kB / 1.246 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06083/2.191, allocations: 25.65 MB / 1.271 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.551e-05/2.191, allocations: 12.19 kB / 1.271 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/2.193, allocations: 323.5 kB / 1.271 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03117/2.224, allocations: 8.273 MB / 1.279 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/2.225, allocations: 108 kB / 1.279 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.515/2.74, allocations: 73.82 MB / 1.352 GB, free: 269.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/2.74, allocations: 11.84 kB / 1.352 GB, free: 269.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04023/2.781, allocations: 21.56 MB / 1.373 GB, free: 254.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/2.785, allocations: 1.355 MB / 1.374 GB, free: 252.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/2.786, allocations: 118.7 kB / 1.374 GB, free: 252.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/2.791, allocations: 283.6 kB / 1.374 GB, free: 252.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002288/2.793, allocations: 0.5202 MB / 1.375 GB, free: 252 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004772/2.793, allocations: 144 kB / 1.375 GB, free: 251.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002411/2.796, allocations: 1.784 MB / 1.377 GB, free: 250.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/2.796, allocations: 3.938 kB / 1.377 GB, free: 250.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.008517/2.804, allocations: 2.468 MB / 1.379 GB, free: 247.6 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/2.805, allocations: 236.6 kB / 1.379 GB, free: 247.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02395/2.829, allocations: 14.54 MB / 1.394 GB, free: 232.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/2.829, allocations: 4 kB / 1.394 GB, free: 232.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01871/2.848, allocations: 9.345 MB / 1.403 GB, free: 223.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009487/2.858, allocations: 1.387 MB / 1.404 GB, free: 222 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/2.889, allocations: 16.49 MB / 1.42 GB, free: 205.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00656/2.895, allocations: 4.991 MB / 1.425 GB, free: 200.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/2.896, allocations: 219.4 kB / 1.425 GB, free: 200.2 MB / 0.8731 GB Notification: Performance of SimCode: time 1.202e-06/2.896, allocations: 0 / 1.425 GB, free: 200.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.6867/3.583, allocations: 475 MB / 1.889 GB, free: 39.45 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)