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.007129/0.007129, allocations: 98.03 kB / 15.73 MB, free: 6.055 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.001403/0.001404, allocations: 195.8 kB / 16.67 MB, free: 5.969 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.839/1.839, allocations: 205.1 MB / 222.5 MB, free: 4.312 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.839/1.839, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001543/0.001543, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3263, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009524/0.3359, allocations: 5.445 MB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006175/0.3422, allocations: 2.643 MB / 0.8359 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.3429, allocations: 19.88 kB / 0.836 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.3452, allocations: 0.6865 MB / 0.8366 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3472, allocations: 421.8 kB / 0.837 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3489, allocations: 393.1 kB / 0.8374 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.3507, allocations: 0.9514 MB / 0.8383 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009678/0.3517, allocations: 462.4 kB / 0.8388 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009427/0.3526, allocations: 378.6 kB / 0.8391 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.3535, allocations: 406.4 kB / 0.8395 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.3537, allocations: 52 kB / 0.8396 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3548, allocations: 355.3 kB / 0.8399 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.3551, allocations: 251.3 kB / 0.8402 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.3556, allocations: 350.2 kB / 0.8405 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.3573, allocations: 0.9695 MB / 0.8414 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3574, allocations: 0 / 0.8414 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3574, allocations: 0 / 0.8414 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.3574, allocations: 0 / 0.8414 GB, free: 2.402 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.002162/0.3596, allocations: 0.9814 MB / 0.8424 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.3596, allocations: 12.03 kB / 0.8424 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.3613, allocations: 187.9 kB / 0.8426 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009804/0.3623, allocations: 0.514 MB / 0.8431 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/0.3623, allocations: 41.36 kB / 0.8431 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.3625, allocations: 52.55 kB / 0.8432 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.3639, allocations: 0.828 MB / 0.844 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.364, allocations: 11.84 kB / 0.844 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.3641, allocations: 23.98 kB / 0.844 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.3643, allocations: 68.94 kB / 0.8441 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3654, allocations: 0.5775 MB / 0.8446 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00613/0.3715, allocations: 4.55 MB / 0.8491 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.3722, allocations: 295.2 kB / 0.8494 GB, free: 9.742 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3726, allocations: 221.3 kB / 0.8496 GB, free: 9.523 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.3726, allocations: 8.281 kB / 0.8496 GB, free: 9.516 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.3727, allocations: 38.83 kB / 0.8496 GB, free: 9.469 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 4.538e-06/0.3727, allocations: 4 kB / 0.8496 GB, free: 9.465 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.006277/0.379, allocations: 2.642 MB / 0.8522 GB, free: 6.695 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3791, allocations: 55.41 kB / 0.8523 GB, free: 6.629 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.3796, allocations: 461.9 kB / 0.8527 GB, free: 6.164 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.3797, allocations: 37.64 kB / 0.8527 GB, free: 6.121 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3799, allocations: 339.6 kB / 0.8531 GB, free: 5.781 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.38, allocations: 142 kB / 0.8532 GB, free: 5.641 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3802, allocations: 102.2 kB / 0.8533 GB, free: 5.535 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3804, allocations: 366.8 kB / 0.8536 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.3808, allocations: 237 kB / 0.8539 GB, free: 4.934 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.3813, allocations: 413.6 kB / 0.8543 GB, free: 4.461 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.3821, allocations: 0.674 MB / 0.8549 GB, free: 3.715 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3822, allocations: 4 kB / 0.8549 GB, free: 3.711 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001653/0.3838, allocations: 0.9246 MB / 0.8558 GB, free: 2.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3839, allocations: 8.656 kB / 0.8558 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3839, allocations: 4 kB / 0.8558 GB, free: 2.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000835/0.3847, allocations: 226.3 kB / 0.8561 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.3852, allocations: 115.9 kB / 0.8562 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.3905, allocations: 5.343 MB / 0.8614 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.3911, allocations: 27.97 kB / 0.8614 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3911, allocations: 24 kB / 0.8614 GB, free: 12.6 MB / 0.6856 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.000381/0.3915, allocations: 225.6 kB / 0.8617 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.3916, allocations: 63.28 kB / 0.8617 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.3931, allocations: 0.7656 MB / 0.8625 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3932, allocations: 11.92 kB / 0.8625 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3932, allocations: 0 / 0.8625 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3932, allocations: 4 kB / 0.8625 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.3957, allocations: 1.494 MB / 0.8639 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3957, allocations: 0 / 0.8639 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.3961, allocations: 75.88 kB / 0.864 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006612/0.3967, allocations: 198.6 kB / 0.8642 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3968, allocations: 8 kB / 0.8642 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.4018, allocations: 5.285 MB / 0.8694 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4019, allocations: 4.031 kB / 0.8694 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.4037, allocations: 1.135 MB / 0.8705 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.404, allocations: 168.4 kB / 0.8706 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.4041, allocations: 15.94 kB / 0.8707 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4044, allocations: 27.95 kB / 0.8707 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.4045, allocations: 35.97 kB / 0.8707 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4046, allocations: 12 kB / 0.8707 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003912/0.405, allocations: 314.9 kB / 0.871 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.405, allocations: 0 / 0.871 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007375/0.4057, allocations: 168 kB / 0.8712 GB, free: 2.004 MB / 0.6856 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.0002057/0.4059, allocations: 119.1 kB / 0.8713 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.4077, allocations: 1.005 MB / 0.8723 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.4077, allocations: 3.984 kB / 0.8723 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4087, allocations: 0.6877 MB / 0.873 GB, free: 104 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/0.4096, allocations: 185.2 kB / 0.8731 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.4119, allocations: 1.248 MB / 0.8744 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.4125, allocations: 0.9455 MB / 0.8753 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.4128, allocations: 121 kB / 0.8754 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.413, allocations: 39.44 kB / 0.8754 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/0.413, allocations: 0 / 0.8754 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of Templates: time 0.01757/0.4305, allocations: 8.959 MB / 0.8842 GB, free: 4.656 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (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)