Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.007645/0.007645, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001595/0.001596, allocations: 192.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.693/1.693, allocations: 251.7 MB / 0.5094 GB, free: 3.141 MB / 414.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.001708/0.001708, allocations: 76.45 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2719, allocations: 104.7 MB / 0.8281 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0444/0.3164, allocations: 37.52 MB / 0.8647 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.3435, allocations: 13.03 MB / 0.8774 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005314/0.3489, allocations: 171.1 kB / 0.8776 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.3599, allocations: 3.893 MB / 0.8814 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00892/0.3688, allocations: 2.6 MB / 0.8839 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008764/0.3776, allocations: 2.711 MB / 0.8866 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01574/0.3934, allocations: 9.54 MB / 0.8959 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7172/1.111, allocations: 10.5 MB / 0.9061 GB, free: 20.6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.121, allocations: 4.051 MB / 0.9101 GB, free: 20.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/1.133, allocations: 4.374 MB / 0.9144 GB, free: 20 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004355/1.138, allocations: 0.7702 MB / 0.9151 GB, free: 20 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008936/1.147, allocations: 1.78 MB / 0.9169 GB, free: 20 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.008117/1.155, allocations: 3.017 MB / 0.9198 GB, free: 19.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01279/1.168, allocations: 3.575 MB / 0.9233 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02468/1.192, allocations: 11.85 MB / 0.9349 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/1.192, allocations: 2.344 kB / 0.9349 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/1.193, allocations: 3.5 kB / 0.9349 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005518/1.193, allocations: 0 / 0.9349 GB, free: 17.82 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.02793/1.221, allocations: 6.36 MB / 0.9411 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/1.221, allocations: 9.031 kB / 0.9411 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/1.232, allocations: 1.305 MB / 0.9424 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.243, allocations: 3.778 MB / 0.9461 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/1.243, allocations: 384.3 kB / 0.9464 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/1.246, allocations: 0.497 MB / 0.9469 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/1.271, allocations: 8.891 MB / 0.9556 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/1.271, allocations: 28.09 kB / 0.9556 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/1.272, allocations: 222.6 kB / 0.9558 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001868/1.274, allocations: 0.6268 MB / 0.9564 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/1.29, allocations: 7.013 MB / 0.9633 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0574/1.347, allocations: 40.02 MB / 1.002 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/1.352, allocations: 2.901 MB / 1.005 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/1.355, allocations: 2.667 MB / 1.008 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.356, allocations: 26.09 kB / 1.008 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/1.356, allocations: 64.66 kB / 1.008 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 4.639e-06/1.356, allocations: 0 / 1.008 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.3321/1.688, allocations: 74.7 MB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/1.688, allocations: 94.73 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/1.694, allocations: 2.359 MB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.695, allocations: 93.7 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.697, allocations: 2.339 MB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002658/1.7, allocations: 1.434 MB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/1.702, allocations: 0.7215 MB / 1.088 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.703, allocations: 313.1 kB / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.708, allocations: 2.999 MB / 1.091 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006535/1.715, allocations: 3.84 MB / 1.095 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.727, allocations: 7.385 MB / 1.102 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/1.727, allocations: 4 kB / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03418/1.761, allocations: 12.56 MB / 1.114 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/1.761, allocations: 14.81 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-05/1.762, allocations: 24 kB / 1.114 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02353/1.785, allocations: 6.03 MB / 1.12 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/1.788, allocations: 490.4 kB / 1.121 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09667/1.885, allocations: 72.99 MB / 1.192 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006226/1.891, allocations: 215.8 kB / 1.192 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.893, allocations: 152 kB / 1.192 GB, free: 10.72 MB / 0.9512 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.008492/1.901, allocations: 1.989 MB / 1.194 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/1.904, allocations: 392.4 kB / 1.195 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03497/1.939, allocations: 12.22 MB / 1.206 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-05/1.939, allocations: 44 kB / 1.207 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000259/1.939, allocations: 51.94 kB / 1.207 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/1.939, allocations: 19.92 kB / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06264/2.002, allocations: 19.14 MB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/2.002, allocations: 8 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/2.004, allocations: 285 kB / 1.226 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02279/2.027, allocations: 5.578 MB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001262/2.029, allocations: 83.98 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7359/2.764, allocations: 70.6 MB / 1.3 GB, free: 357.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/2.764, allocations: 10.17 kB / 1.3 GB, free: 357.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04018/2.805, allocations: 15.62 MB / 1.315 GB, free: 356.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004408/2.809, allocations: 1.04 MB / 1.316 GB, free: 356.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/2.81, allocations: 84.34 kB / 1.316 GB, free: 356.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/2.813, allocations: 217.8 kB / 1.317 GB, free: 356.8 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001791/2.815, allocations: 410.4 kB / 1.317 GB, free: 356.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/2.815, allocations: 108.4 kB / 1.317 GB, free: 356.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003186/2.818, allocations: 1.552 MB / 1.319 GB, free: 356.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/2.818, allocations: 0.5938 kB / 1.319 GB, free: 356.6 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01103/2.829, allocations: 1.849 MB / 1.32 GB, free: 356.6 MB / 1.045 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.0008588/2.83, allocations: 221.2 kB / 1.321 GB, free: 356.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02112/2.851, allocations: 12.21 MB / 1.333 GB, free: 350.7 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/2.851, allocations: 0 / 1.333 GB, free: 350.7 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0154/2.867, allocations: 8.354 MB / 1.341 GB, free: 345.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.877, allocations: 1.198 MB / 1.342 GB, free: 345.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/2.911, allocations: 12.19 MB / 1.354 GB, free: 340.1 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008554/2.92, allocations: 4.086 MB / 1.358 GB, free: 338.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003639/2.924, allocations: 0.6701 MB / 1.358 GB, free: 338.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/2.925, allocations: 183.4 kB / 1.359 GB, free: 338.5 MB / 1.045 GB Notification: Performance of SimCode: time 2.074e-06/2.925, allocations: 0 / 1.359 GB, free: 338.5 MB / 1.045 GB Notification: Performance of Templates: time 0.1745/3.099, allocations: 110.7 MB / 1.467 GB, free: 237.4 MB / 1.045 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)