Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.22 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2956, allocations: 114.5 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04302/0.3387, allocations: 37.54 MB / 0.82 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.364, allocations: 13.04 MB / 0.8328 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004963/0.3691, allocations: 171.1 kB / 0.8329 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.38, allocations: 3.891 MB / 0.8367 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.3887, allocations: 2.491 MB / 0.8392 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007987/0.3967, allocations: 2.699 MB / 0.8418 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01466/0.4114, allocations: 9.575 MB / 0.8512 GB, free: 7.797 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01814/0.4296, allocations: 10.63 MB / 0.8615 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008736/0.4384, allocations: 3.976 MB / 0.8654 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.4485, allocations: 4.377 MB / 0.8697 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003661/0.4522, allocations: 0.7695 MB / 0.8704 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00691/0.4591, allocations: 1.783 MB / 0.8722 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005971/0.4651, allocations: 3.033 MB / 0.8751 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008999/0.4742, allocations: 3.579 MB / 0.8786 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.492, allocations: 11.78 MB / 0.8901 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4921, allocations: 0 / 0.8901 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4921, allocations: 0 / 0.8901 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004457/0.4925, allocations: 0 / 0.8901 GB, free: 15.65 MB / 0.7169 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.02183/0.5144, allocations: 6.354 MB / 0.8963 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5144, allocations: 11.97 kB / 0.8964 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.5252, allocations: 1.305 MB / 0.8976 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.5359, allocations: 3.564 MB / 0.9011 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.5364, allocations: 382.5 kB / 0.9015 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/0.5392, allocations: 0.5002 MB / 0.902 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.5591, allocations: 8.886 MB / 0.9106 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.5593, allocations: 27.72 kB / 0.9107 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.5607, allocations: 223.9 kB / 0.9109 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002348/0.563, allocations: 0.6343 MB / 0.9115 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.5776, allocations: 7.006 MB / 0.9183 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5876/1.165, allocations: 40.33 MB / 0.9577 GB, free: 92.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005287/1.171, allocations: 2.9 MB / 0.9606 GB, free: 91.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004957/1.176, allocations: 2.661 MB / 0.9632 GB, free: 90.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/1.176, allocations: 27.03 kB / 0.9632 GB, free: 90.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/1.176, allocations: 63.94 kB / 0.9632 GB, free: 90.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 5.12e-06/1.176, allocations: 1.688 kB / 0.9632 GB, free: 90.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2921/1.468, allocations: 74.72 MB / 1.036 GB, free: 30.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.468, allocations: 98.67 kB / 1.036 GB, free: 30.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.471, allocations: 2.352 MB / 1.039 GB, free: 27.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008976/1.472, allocations: 97.7 kB / 1.039 GB, free: 27.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000937/1.473, allocations: 2.34 MB / 1.041 GB, free: 25.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.474, allocations: 1.437 MB / 1.042 GB, free: 23.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/1.475, allocations: 0.7215 MB / 1.043 GB, free: 23.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.985e-05/1.475, allocations: 309.1 kB / 1.043 GB, free: 22.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/1.479, allocations: 2.991 MB / 1.046 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/1.483, allocations: 3.843 MB / 1.05 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00814/1.491, allocations: 7.387 MB / 1.057 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/1.491, allocations: 8 kB / 1.057 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02733/1.519, allocations: 12.56 MB / 1.07 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/1.519, allocations: 16 kB / 1.07 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/1.519, allocations: 20 kB / 1.07 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02351/1.542, allocations: 6.077 MB / 1.076 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.545, allocations: 491.2 kB / 1.076 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09097/1.636, allocations: 73.04 MB / 1.147 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/1.641, allocations: 215.8 kB / 1.148 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000687/1.642, allocations: 156 kB / 1.148 GB, free: 7.84 MB / 0.8262 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.004296/1.646, allocations: 2.003 MB / 1.15 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.647, allocations: 391.4 kB / 1.15 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02933/1.677, allocations: 12.23 MB / 1.162 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/1.677, allocations: 40 kB / 1.162 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002992/1.677, allocations: 48 kB / 1.162 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001468/1.677, allocations: 19.92 kB / 1.162 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04857/1.726, allocations: 19.15 MB / 1.181 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.552e-05/1.726, allocations: 11.94 kB / 1.181 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.728, allocations: 284.4 kB / 1.181 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02187/1.75, allocations: 5.617 MB / 1.187 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009664/1.751, allocations: 84 kB / 1.187 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08543/1.836, allocations: 70.68 MB / 1.256 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.836, allocations: 8 kB / 1.256 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/1.871, allocations: 15.6 MB / 1.271 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003308/1.875, allocations: 1.043 MB / 1.272 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009622/1.876, allocations: 88.02 kB / 1.272 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.878, allocations: 223.7 kB / 1.272 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001701/1.88, allocations: 402.3 kB / 1.273 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/1.88, allocations: 108 kB / 1.273 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002337/1.883, allocations: 1.556 MB / 1.274 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.883, allocations: 0 / 1.274 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006696/1.89, allocations: 1.863 MB / 1.276 GB, free: 488 kB / 0.9512 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.0006637/1.89, allocations: 228.3 kB / 1.276 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.4906/2.381, allocations: 14.97 MB / 1.291 GB, free: 312.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/2.381, allocations: 4.781 kB / 1.291 GB, free: 312.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.02118/2.402, allocations: 8.353 MB / 1.299 GB, free: 309.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006922/2.409, allocations: 1.182 MB / 1.3 GB, free: 309.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/2.445, allocations: 12.33 MB / 1.312 GB, free: 305.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009433/2.454, allocations: 4.09 MB / 1.316 GB, free: 304.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004303/2.459, allocations: 0.6699 MB / 1.317 GB, free: 304.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/2.459, allocations: 180.2 kB / 1.317 GB, free: 304.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.262e-06/2.459, allocations: 0 / 1.317 GB, free: 304.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.1683/2.628, allocations: 111.5 MB / 1.426 GB, free: 211.5 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)