Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 102.3 kB / 16.27 MB, free: 6.418 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.001249/0.001249, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.766/1.766, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.00159/0.00159, allocations: 67.89 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 114.6 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.3887/0.6375, allocations: 5.497 MB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.6411, allocations: 2.666 MB / 0.792 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.6415, allocations: 25.31 kB / 0.792 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.6431, allocations: 0.6729 MB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.6439, allocations: 409.9 kB / 0.7931 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.6448, allocations: 407.6 kB / 0.7935 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.6455, allocations: 0.9571 MB / 0.7944 GB, free: 45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.6461, allocations: 467.6 kB / 0.7949 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.6465, allocations: 373.2 kB / 0.7952 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.6469, allocations: 402.4 kB / 0.7956 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.647, allocations: 47.78 kB / 0.7956 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.6475, allocations: 367.2 kB / 0.796 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.6477, allocations: 254.9 kB / 0.7962 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.648, allocations: 349.5 kB / 0.7966 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008228/0.6488, allocations: 0.9693 MB / 0.7975 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6488, allocations: 0 / 0.7975 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6488, allocations: 0 / 0.7975 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.6488, allocations: 0 / 0.7975 GB, free: 44.38 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001432/0.6503, allocations: 0.9818 MB / 0.7985 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6503, allocations: 7.719 kB / 0.7985 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.6517, allocations: 194.5 kB / 0.7987 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.6524, allocations: 493.9 kB / 0.7991 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.6524, allocations: 38.77 kB / 0.7992 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.6526, allocations: 61.44 kB / 0.7992 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.6536, allocations: 0.8298 MB / 0.8 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.6536, allocations: 5.375 kB / 0.8 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.6537, allocations: 23.95 kB / 0.8001 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.6539, allocations: 68 kB / 0.8001 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.6547, allocations: 0.5683 MB / 0.8007 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.6586, allocations: 4.583 MB / 0.8052 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.6591, allocations: 300.9 kB / 0.8055 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.6594, allocations: 225.3 kB / 0.8057 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.6595, allocations: 7.703 kB / 0.8057 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6595, allocations: 34.75 kB / 0.8057 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.6595, allocations: 0 / 0.8057 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005764/0.6653, allocations: 2.627 MB / 0.8083 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6653, allocations: 56.45 kB / 0.8083 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.6659, allocations: 467 kB / 0.8088 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.666, allocations: 35.8 kB / 0.8088 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.6662, allocations: 342.6 kB / 0.8091 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6663, allocations: 144.7 kB / 0.8093 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6665, allocations: 110.4 kB / 0.8094 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6666, allocations: 361.3 kB / 0.8097 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.6671, allocations: 240.2 kB / 0.8099 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.6676, allocations: 412.8 kB / 0.8103 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.6685, allocations: 0.677 MB / 0.811 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6685, allocations: 2.594 kB / 0.811 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001866/0.6704, allocations: 0.9235 MB / 0.8119 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.6704, allocations: 7.625 kB / 0.8119 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6704, allocations: 6.062 kB / 0.8119 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.6713, allocations: 232.2 kB / 0.8121 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.6718, allocations: 116.8 kB / 0.8123 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.6766, allocations: 5.33 MB / 0.8175 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.6772, allocations: 32.86 kB / 0.8175 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.6772, allocations: 27.2 kB / 0.8175 GB, free: 30.11 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.6776, allocations: 222.2 kB / 0.8177 GB, free: 29.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6777, allocations: 60.34 kB / 0.8178 GB, free: 29.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.6793, allocations: 0.7747 MB / 0.8185 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6793, allocations: 8.438 kB / 0.8186 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6793, allocations: 2.188 kB / 0.8186 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6793, allocations: 3.812 kB / 0.8186 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.6819, allocations: 1.5 MB / 0.82 GB, free: 28.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.6819, allocations: 3.484 kB / 0.82 GB, free: 28.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.6823, allocations: 66.7 kB / 0.8201 GB, free: 28.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/0.683, allocations: 211.5 kB / 0.8203 GB, free: 28.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.6831, allocations: 9.734 kB / 0.8203 GB, free: 28.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.6874, allocations: 5.276 MB / 0.8255 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6874, allocations: 6.844 kB / 0.8255 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.6893, allocations: 1.139 MB / 0.8266 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.6896, allocations: 167.7 kB / 0.8267 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.6897, allocations: 17.58 kB / 0.8267 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.6901, allocations: 29.34 kB / 0.8268 GB, free: 23.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6902, allocations: 39.12 kB / 0.8268 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6902, allocations: 15.22 kB / 0.8268 GB, free: 23.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004303/0.6907, allocations: 311.3 kB / 0.8271 GB, free: 23.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6907, allocations: 0 / 0.8271 GB, free: 23.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008425/0.6915, allocations: 171.1 kB / 0.8273 GB, free: 23.15 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.6917, allocations: 114.6 kB / 0.8274 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.6935, allocations: 1.059 MB / 0.8284 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6935, allocations: 0 / 0.8284 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000956/0.6944, allocations: 0.674 MB / 0.8291 GB, free: 22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.6954, allocations: 191.1 kB / 0.8293 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.6977, allocations: 1.33 MB / 0.8306 GB, free: 21.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6982, allocations: 0.9458 MB / 0.8315 GB, free: 20.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6983, allocations: 43.38 kB / 0.8315 GB, free: 20.45 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.6983, allocations: 4.969 kB / 0.8315 GB, free: 20.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.02278/0.7211, allocations: 14.91 MB / 0.8461 GB, free: 16.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)