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.0008748/0.0008674, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006083/0.006083, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.588/1.588, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.595/1.595, allocations: 252 MB / 0.5105 GB, free: 4.719 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.0005454/0.0005457, allocations: 12 kB / 0.6249 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.606, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006438/0.6125, allocations: 5.059 MB / 0.7337 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.6172, allocations: 2.635 MB / 0.7362 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.6178, allocations: 19.81 kB / 0.7363 GB, free: 3.547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.6183, allocations: 103.1 kB / 0.7364 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.6196, allocations: 382.2 kB / 0.7367 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6208, allocations: 355.3 kB / 0.7371 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.6225, allocations: 1.252 MB / 0.7383 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.624, allocations: 0.7793 MB / 0.739 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.6245, allocations: 306.6 kB / 0.7393 GB, free: 364 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.6251, allocations: 390.4 kB / 0.7397 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.6252, allocations: 24 kB / 0.7397 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008011/0.626, allocations: 431.1 kB / 0.7401 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.6262, allocations: 219.4 kB / 0.7404 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.6265, allocations: 347.9 kB / 0.7407 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.6274, allocations: 0.9555 MB / 0.7416 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6274, allocations: 0 / 0.7416 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6274, allocations: 0 / 0.7416 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.6274, allocations: 0 / 0.7416 GB, free: 14.01 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.001455/0.6289, allocations: 0.8453 MB / 0.7424 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.629, allocations: 8.031 kB / 0.7425 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.6303, allocations: 199.9 kB / 0.7426 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.631, allocations: 486.4 kB / 0.7431 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.6311, allocations: 41.36 kB / 0.7431 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.6312, allocations: 56.47 kB / 0.7432 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.6324, allocations: 0.8318 MB / 0.744 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.6325, allocations: 7.938 kB / 0.744 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.6325, allocations: 31.98 kB / 0.7441 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.6327, allocations: 64.95 kB / 0.7441 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.6336, allocations: 0.5697 MB / 0.7447 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/0.6386, allocations: 4.589 MB / 0.7492 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.6391, allocations: 295.2 kB / 0.7494 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.6395, allocations: 229.3 kB / 0.7497 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.6395, allocations: 4.281 kB / 0.7497 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6395, allocations: 42.83 kB / 0.7497 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.6396, allocations: 0 / 0.7497 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005801/0.6454, allocations: 2.618 MB / 0.7523 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6454, allocations: 63.39 kB / 0.7523 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.646, allocations: 453.9 kB / 0.7527 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.6461, allocations: 37.7 kB / 0.7528 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.6463, allocations: 347.6 kB / 0.7531 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.6465, allocations: 141.9 kB / 0.7533 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.6466, allocations: 49.69 kB / 0.7533 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6468, allocations: 366.8 kB / 0.7536 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.6471, allocations: 237 kB / 0.7539 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.6476, allocations: 406.4 kB / 0.7543 GB, free: 268 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.6485, allocations: 0.674 MB / 0.7549 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6486, allocations: 4 kB / 0.7549 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001642/0.6502, allocations: 0.9207 MB / 0.7558 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6502, allocations: 8 kB / 0.7558 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6503, allocations: 4.656 kB / 0.7558 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008222/0.6511, allocations: 226.4 kB / 0.7561 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.6516, allocations: 115.8 kB / 0.7562 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004933/0.6566, allocations: 4.946 MB / 0.761 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.6571, allocations: 23.98 kB / 0.761 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.6572, allocations: 27.98 kB / 0.761 GB, free: 8.816 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.0003646/0.6575, allocations: 226 kB / 0.7613 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.6576, allocations: 59.34 kB / 0.7613 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.6591, allocations: 0.7735 MB / 0.7621 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6591, allocations: 4 kB / 0.7621 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6592, allocations: 0 / 0.7621 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6592, allocations: 7.984 kB / 0.7621 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.6615, allocations: 1.499 MB / 0.7635 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6615, allocations: 0 / 0.7635 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.6619, allocations: 71.89 kB / 0.7636 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000658/0.6626, allocations: 198.6 kB / 0.7638 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.6626, allocations: 19.98 kB / 0.7638 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.6673, allocations: 4.864 MB / 0.7686 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6674, allocations: 11.95 kB / 0.7686 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6692, allocations: 1.15 MB / 0.7697 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.6695, allocations: 168.4 kB / 0.7699 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.6695, allocations: 16 kB / 0.7699 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.6699, allocations: 27.91 kB / 0.7699 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.67, allocations: 35.95 kB / 0.7699 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.67, allocations: 16 kB / 0.77 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003632/0.6704, allocations: 306.9 kB / 0.7702 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6704, allocations: 0 / 0.7702 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007164/0.6711, allocations: 172 kB / 0.7704 GB, free: 14.62 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.0001951/0.6713, allocations: 119.1 kB / 0.7705 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.6729, allocations: 0.9965 MB / 0.7715 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6729, allocations: 0 / 0.7715 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.6739, allocations: 0.6836 MB / 0.7722 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6749, allocations: 172.4 kB / 0.7723 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.6771, allocations: 1.546 MB / 0.7738 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.6777, allocations: 0.9416 MB / 0.7748 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.6781, allocations: 117 kB / 0.7749 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6782, allocations: 39.44 kB / 0.7749 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6782, allocations: 3.938 kB / 0.7749 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.01471/0.6929, allocations: 8.398 MB / 0.7831 GB, free: 1.562 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: