Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.001108/0.001108, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001499/0.0015, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.709/1.709, allocations: 251.9 MB / 0.51 GB, free: 4.797 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.0005773/0.0005774, allocations: 23.27 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6475, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005304/0.6528, allocations: 4.633 MB / 0.7325 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.6568, allocations: 2.496 MB / 0.7349 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.6572, allocations: 19.88 kB / 0.735 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.6575, allocations: 91.36 kB / 0.735 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009153/0.6585, allocations: 327 kB / 0.7354 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.6593, allocations: 290.7 kB / 0.7356 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.6601, allocations: 0.5785 MB / 0.7362 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.6615, allocations: 0.7436 MB / 0.7369 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.662, allocations: 287 kB / 0.7372 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.6625, allocations: 294.9 kB / 0.7375 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.6625, allocations: 28 kB / 0.7375 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.663, allocations: 151.7 kB / 0.7377 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.6633, allocations: 199.4 kB / 0.7378 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.6635, allocations: 145.4 kB / 0.738 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.6643, allocations: 0.6876 MB / 0.7387 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6643, allocations: 0 / 0.7387 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.945e-06/0.6643, allocations: 4 kB / 0.7387 GB, free: 444 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6643, allocations: 0 / 0.7387 GB, free: 444 kB / 0.545 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.001709/0.6661, allocations: 0.849 MB / 0.7395 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.6661, allocations: 8.031 kB / 0.7395 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.6675, allocations: 179 kB / 0.7397 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/0.6684, allocations: 481.4 kB / 0.7401 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.6684, allocations: 40.98 kB / 0.7402 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.6686, allocations: 47.91 kB / 0.7402 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.6699, allocations: 0.8238 MB / 0.741 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.6699, allocations: 4 kB / 0.741 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.67, allocations: 23.98 kB / 0.741 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.6702, allocations: 64.95 kB / 0.7411 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.6711, allocations: 0.5696 MB / 0.7417 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.676, allocations: 4.585 MB / 0.7461 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.6764, allocations: 295.2 kB / 0.7464 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.6765, allocations: 8.219 kB / 0.7464 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.6765, allocations: 42.83 kB / 0.7465 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.6765, allocations: 0 / 0.7465 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005571/0.6821, allocations: 2.623 MB / 0.749 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.6822, allocations: 55.41 kB / 0.7491 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.6827, allocations: 457.9 kB / 0.7495 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.6827, allocations: 33.7 kB / 0.7495 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.683, allocations: 343.6 kB / 0.7499 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6831, allocations: 138 kB / 0.75 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.6832, allocations: 8 kB / 0.75 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6833, allocations: 362.8 kB / 0.7504 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.6837, allocations: 240.9 kB / 0.7506 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.6842, allocations: 398.5 kB / 0.751 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.6847, allocations: 293.5 kB / 0.7513 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6847, allocations: 0 / 0.7513 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001644/0.6864, allocations: 0.9175 MB / 0.7521 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6864, allocations: 8 kB / 0.7522 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6864, allocations: 4 kB / 0.7522 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.6872, allocations: 230.9 kB / 0.7524 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.6877, allocations: 115.8 kB / 0.7525 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004889/0.6926, allocations: 5.025 MB / 0.7574 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.6931, allocations: 23.98 kB / 0.7574 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.6932, allocations: 27.98 kB / 0.7574 GB, free: 11.97 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.6935, allocations: 221.6 kB / 0.7577 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.6936, allocations: 59.41 kB / 0.7577 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.695, allocations: 0.7656 MB / 0.7585 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.695, allocations: 7.938 kB / 0.7585 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6951, allocations: 8 kB / 0.7585 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6951, allocations: 3.984 kB / 0.7585 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.6974, allocations: 1.494 MB / 0.7599 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6974, allocations: 0 / 0.7599 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.6977, allocations: 63.95 kB / 0.76 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.6984, allocations: 210.5 kB / 0.7602 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.6984, allocations: 11.98 kB / 0.7602 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.7036, allocations: 4.942 MB / 0.765 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7036, allocations: 4.031 kB / 0.765 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7056, allocations: 1.21 MB / 0.7662 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.7059, allocations: 176.3 kB / 0.7664 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.706, allocations: 12.06 kB / 0.7664 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.7063, allocations: 27.91 kB / 0.7664 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.7064, allocations: 43.84 kB / 0.7665 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.7064, allocations: 12 kB / 0.7665 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004365/0.7069, allocations: 310.9 kB / 0.7668 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7069, allocations: 0 / 0.7668 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007019/0.7076, allocations: 164 kB / 0.7669 GB, free: 1.617 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.7077, allocations: 116 kB / 0.767 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.7093, allocations: 1.001 MB / 0.768 GB, free: 468 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7093, allocations: 4.062 kB / 0.768 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.7102, allocations: 0.6875 MB / 0.7687 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.711, allocations: 161.5 kB / 0.7689 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.7131, allocations: 1.491 MB / 0.7703 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7138, allocations: 0.9611 MB / 0.7712 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.7141, allocations: 120.9 kB / 0.7714 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.7142, allocations: 39.44 kB / 0.7714 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.7142, allocations: 0 / 0.7714 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01517/0.7294, allocations: 8.135 MB / 0.7793 GB, free: 4.855 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: