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.001385/0.001384, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002007/0.002007, allocations: 188.7 kB / 16.25 MB, free: 6.629 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.897/1.897, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.67/1.67, allocations: 251.6 MB / 0.5089 GB, free: 3.293 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.001487/0.001487, allocations: 63.91 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7823, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008428/0.7908, allocations: 5.468 MB / 0.7293 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005293/0.7961, allocations: 2.643 MB / 0.7319 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007317/0.7969, allocations: 19.88 kB / 0.7319 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.799, allocations: 0.6378 MB / 0.7326 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.8004, allocations: 374.2 kB / 0.7329 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.8016, allocations: 351.3 kB / 0.7332 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.8029, allocations: 0.963 MB / 0.7342 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008666/0.8037, allocations: 0.5005 MB / 0.7347 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.8043, allocations: 374.5 kB / 0.735 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.805, allocations: 430.4 kB / 0.7354 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.8051, allocations: 48 kB / 0.7355 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008747/0.8059, allocations: 355.3 kB / 0.7358 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.8062, allocations: 247.3 kB / 0.7361 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.8066, allocations: 350.2 kB / 0.7364 GB, free: 376 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.8078, allocations: 0.9889 MB / 0.7374 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8078, allocations: 0 / 0.7374 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8079, allocations: 0 / 0.7374 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8079, allocations: 0 / 0.7374 GB, free: 15.38 MB / 0.5606 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.001772/0.8096, allocations: 0.9737 MB / 0.7383 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.8097, allocations: 12.02 kB / 0.7383 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.8111, allocations: 187.9 kB / 0.7385 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.8119, allocations: 494.4 kB / 0.739 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.812, allocations: 41.36 kB / 0.739 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8122, allocations: 52.56 kB / 0.7391 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.8135, allocations: 0.8241 MB / 0.7399 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.8135, allocations: 11.84 kB / 0.7399 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.8136, allocations: 23.98 kB / 0.7399 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.8138, allocations: 68.94 kB / 0.74 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009199/0.8147, allocations: 0.5735 MB / 0.7405 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005477/0.8202, allocations: 4.577 MB / 0.745 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.8208, allocations: 299.2 kB / 0.7453 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.8211, allocations: 229.3 kB / 0.7455 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.8212, allocations: 4.281 kB / 0.7455 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.8212, allocations: 34.84 kB / 0.7455 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.437e-06/0.8212, allocations: 0 / 0.7455 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005835/0.8271, allocations: 2.626 MB / 0.7481 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.8272, allocations: 59.34 kB / 0.7482 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/0.8277, allocations: 461.9 kB / 0.7486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.8278, allocations: 29.7 kB / 0.7486 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.8281, allocations: 343.6 kB / 0.749 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.8282, allocations: 142 kB / 0.7491 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.8284, allocations: 106.2 kB / 0.7492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.8286, allocations: 358.8 kB / 0.7495 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.8291, allocations: 241 kB / 0.7498 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.8297, allocations: 406.4 kB / 0.7502 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.8307, allocations: 0.6779 MB / 0.7508 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8307, allocations: 4 kB / 0.7508 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001936/0.8327, allocations: 0.9251 MB / 0.7517 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.8327, allocations: 4 kB / 0.7517 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.8327, allocations: 11.98 kB / 0.7517 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/0.8336, allocations: 226.5 kB / 0.752 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.8341, allocations: 111.8 kB / 0.7521 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.8405, allocations: 5.343 MB / 0.7573 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.8413, allocations: 31.97 kB / 0.7573 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.8413, allocations: 23.94 kB / 0.7573 GB, free: 9.602 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 (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.0005656/0.8419, allocations: 234 kB / 0.7576 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8421, allocations: 59.28 kB / 0.7576 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.8439, allocations: 0.7697 MB / 0.7584 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.844, allocations: 4 kB / 0.7584 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.844, allocations: 4 kB / 0.7584 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.844, allocations: 3.984 kB / 0.7584 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.847, allocations: 1.486 MB / 0.7598 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.847, allocations: 7.984 kB / 0.7598 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.8475, allocations: 67.89 kB / 0.7599 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/0.8482, allocations: 206.5 kB / 0.7601 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.8483, allocations: 11.94 kB / 0.7601 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.8545, allocations: 5.269 MB / 0.7653 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.8545, allocations: 4 kB / 0.7653 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.8566, allocations: 1.143 MB / 0.7664 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.857, allocations: 168.4 kB / 0.7665 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.8571, allocations: 19.94 kB / 0.7666 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.8575, allocations: 19.97 kB / 0.7666 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8577, allocations: 35.89 kB / 0.7666 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.8577, allocations: 19.94 kB / 0.7666 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004194/0.8581, allocations: 310.9 kB / 0.7669 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8581, allocations: 4.062 kB / 0.7669 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008575/0.859, allocations: 164 kB / 0.7671 GB, free: 15 MB / 0.5919 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.0002723/0.8593, allocations: 123.1 kB / 0.7672 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.8613, allocations: 1.063 MB / 0.7682 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.8613, allocations: 0 / 0.7682 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.8624, allocations: 0.6759 MB / 0.7689 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8634, allocations: 189.7 kB / 0.7691 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.8663, allocations: 1.503 MB / 0.7705 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.8671, allocations: 0.9494 MB / 0.7715 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005302/0.8677, allocations: 117 kB / 0.7716 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.8678, allocations: 35.44 kB / 0.7716 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/0.8678, allocations: 0 / 0.7716 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.01988/0.8877, allocations: 8.904 MB / 0.7803 GB, free: 1.414 MB / 0.5919 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)