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.001688/0.001688, 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.002263/0.002263, allocations: 197.1 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.734/1.734, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.87/1.87, allocations: 251.7 MB / 0.5092 GB, free: 3.145 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.001477/0.001477, allocations: 68.23 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6518, allocations: 104.7 MB / 0.7245 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04428/0.6961, allocations: 37.51 MB / 0.7612 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02697/0.7231, allocations: 13.05 MB / 0.7739 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005887/0.7291, allocations: 171.1 kB / 0.7741 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.7405, allocations: 3.869 MB / 0.7778 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.7506, allocations: 2.483 MB / 0.7803 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.7606, allocations: 2.712 MB / 0.7829 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01854/0.7792, allocations: 9.517 MB / 0.7922 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02222/0.8015, allocations: 10.64 MB / 0.8026 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.8116, allocations: 3.949 MB / 0.8065 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00972/0.8214, allocations: 4.384 MB / 0.8107 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003735/0.8251, allocations: 0.7695 MB / 0.8115 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008146/0.8333, allocations: 1.775 MB / 0.8132 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007786/0.8411, allocations: 3.029 MB / 0.8162 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01534/0.8565, allocations: 3.571 MB / 0.8197 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/0.8811, allocations: 11.77 MB / 0.8312 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.8812, allocations: 0 / 0.8312 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.986e-06/0.8812, allocations: 4 kB / 0.8312 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006785/0.8819, allocations: 0 / 0.8312 GB, free: 15.33 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.03128/0.9132, allocations: 6.343 MB / 0.8374 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.9133, allocations: 16.02 kB / 0.8374 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.9241, allocations: 1.297 MB / 0.8386 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.9377, allocations: 3.568 MB / 0.8421 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008732/0.9386, allocations: 382.5 kB / 0.8425 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004566/0.9432, allocations: 0.4924 MB / 0.843 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02849/0.9718, allocations: 8.898 MB / 0.8517 GB, free: 9.832 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/0.9722, allocations: 27.78 kB / 0.8517 GB, free: 9.805 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/0.9744, allocations: 219.9 kB / 0.8519 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002631/0.9771, allocations: 0.6303 MB / 0.8525 GB, free: 8.957 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.9971, allocations: 7.014 MB / 0.8594 GB, free: 1.93 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06957/1.067, allocations: 40.3 MB / 0.8987 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/1.072, allocations: 2.9 MB / 0.9016 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004743/1.077, allocations: 2.667 MB / 0.9042 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/1.077, allocations: 26.09 kB / 0.9042 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/1.077, allocations: 68.59 kB / 0.9042 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 6.292e-06/1.077, allocations: 0 / 0.9042 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.8577/1.935, allocations: 74.71 MB / 0.9772 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/1.935, allocations: 98.73 kB / 0.9773 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/1.939, allocations: 2.359 MB / 0.9796 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.941, allocations: 97.7 kB / 0.9797 GB, free: 105.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/1.942, allocations: 2.34 MB / 0.982 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/1.944, allocations: 1.437 MB / 0.9834 GB, free: 101.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/1.947, allocations: 0.7177 MB / 0.9841 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/1.947, allocations: 309.1 kB / 0.9844 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/1.951, allocations: 2.995 MB / 0.9873 GB, free: 97.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/1.956, allocations: 3.843 MB / 0.9911 GB, free: 93.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008991/1.965, allocations: 7.384 MB / 0.9983 GB, free: 85.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/1.965, allocations: 8 kB / 0.9983 GB, free: 85.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02812/1.993, allocations: 12.56 MB / 1.011 GB, free: 72.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/1.993, allocations: 16 kB / 1.011 GB, free: 72.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.993, allocations: 24 kB / 1.011 GB, free: 72.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02209/2.015, allocations: 6.066 MB / 1.017 GB, free: 66.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/2.017, allocations: 496.1 kB / 1.017 GB, free: 66.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07778/2.095, allocations: 73.04 MB / 1.088 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/2.1, allocations: 211.8 kB / 1.089 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/2.102, allocations: 160 kB / 1.089 GB, free: 5.547 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.005877/2.108, allocations: 1.992 MB / 1.091 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/2.109, allocations: 391.4 kB / 1.091 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03177/2.141, allocations: 12.23 MB / 1.103 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.683e-05/2.141, allocations: 43.94 kB / 1.103 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002534/2.141, allocations: 48 kB / 1.103 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/2.142, allocations: 19.92 kB / 1.103 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05117/2.193, allocations: 19.14 MB / 1.122 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.731e-05/2.193, allocations: 4 kB / 1.122 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/2.195, allocations: 288.3 kB / 1.122 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0231/2.218, allocations: 5.619 MB / 1.127 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/2.219, allocations: 84 kB / 1.128 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09146/2.311, allocations: 70.66 MB / 1.197 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/2.311, allocations: 11.94 kB / 1.197 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03521/2.346, allocations: 15.62 MB / 1.212 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00276/2.349, allocations: 1.043 MB / 1.213 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/2.35, allocations: 83.98 kB / 1.213 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/2.353, allocations: 215.7 kB / 1.213 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/2.355, allocations: 402.3 kB / 1.214 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/2.356, allocations: 111.9 kB / 1.214 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003177/2.359, allocations: 1.556 MB / 1.215 GB, free: 56 kB / 0.8575 GB Notification: Performance of sort global known variables: time 6.11e-07/2.359, allocations: 0 / 1.215 GB, free: 56 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00767/2.367, allocations: 1.848 MB / 1.217 GB, free: 14.2 MB / 0.8731 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.0009738/2.368, allocations: 218.9 kB / 1.217 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.5167/2.884, allocations: 14.96 MB / 1.232 GB, free: 286 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.469e-05/2.884, allocations: 2.781 kB / 1.232 GB, free: 286 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01951/2.904, allocations: 8.356 MB / 1.24 GB, free: 283.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007937/2.912, allocations: 1.196 MB / 1.241 GB, free: 283.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/2.939, allocations: 12.32 MB / 1.253 GB, free: 279.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005574/2.945, allocations: 4.091 MB / 1.257 GB, free: 279 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003049/2.948, allocations: 0.6679 MB / 1.258 GB, free: 278.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/2.948, allocations: 178.7 kB / 1.258 GB, free: 278.9 MB / 0.8731 GB Notification: Performance of SimCode: time 8.81e-07/2.948, allocations: 4 kB / 1.258 GB, free: 278.9 MB / 0.8731 GB Notification: Performance of Templates: time 0.1672/3.116, allocations: 111.5 MB / 1.367 GB, free: 188.8 MB / 0.8731 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)