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.001626/0.001626, allocations: 100.6 kB / 16.36 MB, free: 6.426 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.001845/0.001845, allocations: 196.5 kB / 17.3 MB, free: 5.797 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.904/1.904, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.002803/0.002803, allocations: 67.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2236, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.3804/0.6041, allocations: 5.506 MB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.6078, allocations: 2.672 MB / 0.7928 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.6082, allocations: 25.59 kB / 0.7928 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.6098, allocations: 0.6749 MB / 0.7935 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007821/0.6106, allocations: 406.8 kB / 0.7938 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.6115, allocations: 415 kB / 0.7942 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.6123, allocations: 0.9562 MB / 0.7952 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.6128, allocations: 471 kB / 0.7956 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.6132, allocations: 369.4 kB / 0.796 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.6136, allocations: 404.2 kB / 0.7964 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/0.6137, allocations: 54.91 kB / 0.7964 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.6144, allocations: 356.7 kB / 0.7968 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.6146, allocations: 243.6 kB / 0.797 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.6149, allocations: 357 kB / 0.7973 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.6159, allocations: 0.9744 MB / 0.7983 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.616, allocations: 6.719 kB / 0.7983 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.616, allocations: 0 / 0.7983 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.616, allocations: 0 / 0.7983 GB, free: 44.61 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.001474/0.6175, allocations: 0.9793 MB / 0.7992 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6175, allocations: 8.562 kB / 0.7992 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.6189, allocations: 190.1 kB / 0.7994 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.6197, allocations: 0.489 MB / 0.7999 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.6197, allocations: 38.33 kB / 0.7999 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6199, allocations: 59.25 kB / 0.8 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6211, allocations: 0.8284 MB / 0.8008 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.6211, allocations: 6.391 kB / 0.8008 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/0.6212, allocations: 24.42 kB / 0.8008 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.6214, allocations: 67.47 kB / 0.8009 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/0.6224, allocations: 0.5679 MB / 0.8015 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.6267, allocations: 4.567 MB / 0.8059 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.6272, allocations: 298.4 kB / 0.8062 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.6276, allocations: 227.7 kB / 0.8064 GB, free: 38.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.6276, allocations: 4.469 kB / 0.8064 GB, free: 38.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.6276, allocations: 33.92 kB / 0.8065 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/0.6277, allocations: 4 kB / 0.8065 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.006154/0.6338, allocations: 2.625 MB / 0.809 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.6339, allocations: 57.28 kB / 0.8091 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.6346, allocations: 464.8 kB / 0.8095 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.6346, allocations: 35.14 kB / 0.8096 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6349, allocations: 344.1 kB / 0.8099 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.635, allocations: 142.5 kB / 0.81 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.6352, allocations: 109.7 kB / 0.8101 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6353, allocations: 359.7 kB / 0.8105 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.6357, allocations: 238.1 kB / 0.8107 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.6363, allocations: 417 kB / 0.8111 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.6372, allocations: 0.673 MB / 0.8117 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.6372, allocations: 2.75 kB / 0.8117 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001781/0.639, allocations: 0.9264 MB / 0.8127 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.639, allocations: 8.938 kB / 0.8127 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6391, allocations: 5.734 kB / 0.8127 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.6399, allocations: 230.9 kB / 0.8129 GB, free: 34.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.6405, allocations: 113 kB / 0.813 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.6454, allocations: 5.338 MB / 0.8182 GB, free: 30.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.646, allocations: 34.14 kB / 0.8182 GB, free: 30.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.6461, allocations: 22.72 kB / 0.8183 GB, free: 30.18 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.0003998/0.6465, allocations: 227.1 kB / 0.8185 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6466, allocations: 61.17 kB / 0.8185 GB, free: 29.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6483, allocations: 0.7751 MB / 0.8193 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6483, allocations: 4.25 kB / 0.8193 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6483, allocations: 2.062 kB / 0.8193 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6483, allocations: 3.453 kB / 0.8193 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.6511, allocations: 1.5 MB / 0.8208 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6511, allocations: 1.062 kB / 0.8208 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.6515, allocations: 68.22 kB / 0.8208 GB, free: 28.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007098/0.6522, allocations: 206.9 kB / 0.821 GB, free: 28.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.6522, allocations: 10.61 kB / 0.821 GB, free: 28.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.6564, allocations: 5.278 MB / 0.8262 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6564, allocations: 2.5 kB / 0.8262 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.6583, allocations: 1.145 MB / 0.8273 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.6586, allocations: 167.8 kB / 0.8275 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.6587, allocations: 19.22 kB / 0.8275 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.659, allocations: 27.12 kB / 0.8275 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6592, allocations: 36.83 kB / 0.8276 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.6592, allocations: 13.22 kB / 0.8276 GB, free: 23.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00036/0.6596, allocations: 321.1 kB / 0.8279 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6596, allocations: 0 / 0.8279 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00082/0.6604, allocations: 166.2 kB / 0.828 GB, free: 23.21 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.0001557/0.6606, allocations: 118.1 kB / 0.8281 GB, free: 23.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.6622, allocations: 1.007 MB / 0.8291 GB, free: 22.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.6623, allocations: 1.062 kB / 0.8291 GB, free: 22.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.6632, allocations: 0.6807 MB / 0.8298 GB, free: 22.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.6641, allocations: 185.1 kB / 0.83 GB, free: 22.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.666, allocations: 1.252 MB / 0.8312 GB, free: 21.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.6664, allocations: 0.9492 MB / 0.8321 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003682/0.6668, allocations: 120.1 kB / 0.8322 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6669, allocations: 37.06 kB / 0.8323 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of SimCode: time 6.52e-07/0.6669, allocations: 2.625 kB / 0.8323 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.01835/0.6853, allocations: 8.857 MB / 0.8409 GB, free: 19.83 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)