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_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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001495/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001649/0.00165, allocations: 197.1 kB / 16.14 MB, free: 6.652 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.639/1.639, allocations: 205.1 MB / 222 MB, free: 4.727 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.699/1.699, allocations: 251.7 MB / 0.5088 GB, free: 3.344 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.001454/0.001454, allocations: 67.91 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6541, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0303/0.6845, allocations: 26.37 MB / 0.7496 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.6996, allocations: 8.118 MB / 0.7575 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.7034, allocations: 111.3 kB / 0.7576 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007033/0.7105, allocations: 2.56 MB / 0.7601 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005423/0.716, allocations: 1.497 MB / 0.7616 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.7208, allocations: 1.521 MB / 0.7631 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.7307, allocations: 8.7 MB / 0.7716 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.7426, allocations: 8.191 MB / 0.7796 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.7473, allocations: 2.183 MB / 0.7817 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005367/0.7527, allocations: 2.889 MB / 0.7845 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.7538, allocations: 344 kB / 0.7848 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.7574, allocations: 1.326 MB / 0.7861 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.7597, allocations: 1.875 MB / 0.788 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003442/0.7631, allocations: 2.197 MB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.7723, allocations: 7.918 MB / 0.7978 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7723, allocations: 0 / 0.7978 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7723, allocations: 0 / 0.7978 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002743/0.7726, allocations: 0 / 0.7978 GB, free: 1.043 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01145/0.7841, allocations: 4.236 MB / 0.802 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.7842, allocations: 8.031 kB / 0.802 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.7891, allocations: 0.7961 MB / 0.8028 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.7948, allocations: 2.432 MB / 0.8051 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.795, allocations: 275.6 kB / 0.8054 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.7964, allocations: 376.5 kB / 0.8058 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.8078, allocations: 5.996 MB / 0.8116 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-05/0.808, allocations: 23.78 kB / 0.8116 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.8084, allocations: 156 kB / 0.8118 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005791/0.809, allocations: 286.9 kB / 0.8121 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009388/0.8184, allocations: 4.52 MB / 0.8165 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03534/0.8538, allocations: 27.65 MB / 0.8435 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.8558, allocations: 1.132 MB / 0.8446 GB, free: 14.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.8571, allocations: 1.011 MB / 0.8456 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.8572, allocations: 13 kB / 0.8456 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.8572, allocations: 51.5 kB / 0.8456 GB, free: 13.19 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/0.8572, allocations: 0 / 0.8456 GB, free: 13.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02117/0.8784, allocations: 9.657 MB / 0.8551 GB, free: 3.324 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.8785, allocations: 68.72 kB / 0.8551 GB, free: 3.246 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.8805, allocations: 1.494 MB / 0.8566 GB, free: 1.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.8807, allocations: 45.7 kB / 0.8566 GB, free: 1.703 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009938/0.8817, allocations: 1.671 MB / 0.8583 GB, free: 8 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.8821, allocations: 469.4 kB / 0.8587 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/0.8826, allocations: 335.1 kB / 0.859 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.8827, allocations: 305.1 kB / 0.8593 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.884, allocations: 0.9135 MB / 0.8602 GB, free: 14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.8856, allocations: 1.463 MB / 0.8616 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.8889, allocations: 2.55 MB / 0.8641 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.8889, allocations: 12 kB / 0.8641 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006115/0.895, allocations: 3.282 MB / 0.8673 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.8951, allocations: 12 kB / 0.8674 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.8951, allocations: 20 kB / 0.8674 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.8975, allocations: 0.7339 MB / 0.8681 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.8991, allocations: 383.4 kB / 0.8685 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.9148, allocations: 15.77 MB / 0.8839 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.9171, allocations: 103.8 kB / 0.884 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.9172, allocations: 76 kB / 0.884 GB, free: 3.852 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002683/0.9199, allocations: 1.313 MB / 0.8853 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/0.9205, allocations: 201.7 kB / 0.8855 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/0.9255, allocations: 2.784 MB / 0.8882 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.9256, allocations: 16 kB / 0.8882 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.9256, allocations: 8 kB / 0.8882 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9256, allocations: 7.969 kB / 0.8883 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.9364, allocations: 6.228 MB / 0.8943 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.9365, allocations: 4 kB / 0.8943 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.9376, allocations: 231.6 kB / 0.8946 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/0.9396, allocations: 0.6757 MB / 0.8952 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.9398, allocations: 31.98 kB / 0.8952 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.954, allocations: 15.51 MB / 0.9104 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9541, allocations: 7.938 kB / 0.9104 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006418/0.9605, allocations: 4 MB / 0.9143 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.9619, allocations: 454.6 kB / 0.9147 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.9621, allocations: 31.98 kB / 0.9148 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/0.9631, allocations: 83.91 kB / 0.9149 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/0.9636, allocations: 120.7 kB / 0.915 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.9637, allocations: 39.94 kB / 0.915 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001548/0.9652, allocations: 0.9942 MB / 0.916 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9652, allocations: 4 kB / 0.916 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00264/0.9679, allocations: 0.6875 MB / 0.9167 GB, free: 0.8711 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0002812/0.9682, allocations: 151 kB / 0.9168 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.4285/1.397, allocations: 3.493 MB / 0.9202 GB, free: 177.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.397, allocations: 3.297 kB / 0.9202 GB, free: 177.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/1.4, allocations: 2.293 MB / 0.9225 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.404, allocations: 0.6165 MB / 0.9231 GB, free: 176.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.42, allocations: 8.1 MB / 0.931 GB, free: 172.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1.424, allocations: 2.675 MB / 0.9336 GB, free: 171.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002431/1.427, allocations: 495.2 kB / 0.934 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.427, allocations: 113.4 kB / 0.9342 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.093e-06/1.427, allocations: 0 / 0.9342 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.05122/1.478, allocations: 32.58 MB / 0.966 GB, free: 148.2 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)