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.009805/0.009805, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001576/0.001576, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.804/1.804, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.675/1.675, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.00175/0.00175, allocations: 65.78 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3455, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008617/0.3542, allocations: 5.453 MB / 0.8334 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00588/0.3602, allocations: 2.631 MB / 0.8359 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.3606, allocations: 27.81 kB / 0.836 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.3627, allocations: 0.68 MB / 0.8366 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3638, allocations: 409.8 kB / 0.837 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3651, allocations: 391.1 kB / 0.8374 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3662, allocations: 0.9513 MB / 0.8383 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.3669, allocations: 466.5 kB / 0.8388 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.3674, allocations: 374.5 kB / 0.8391 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.368, allocations: 398.5 kB / 0.8395 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.3681, allocations: 48 kB / 0.8395 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008996/0.369, allocations: 359.2 kB / 0.8399 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.3693, allocations: 255.3 kB / 0.8401 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.3698, allocations: 342.3 kB / 0.8405 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3711, allocations: 0.9844 MB / 0.8414 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3711, allocations: 0 / 0.8414 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.584e-06/0.3711, allocations: 4 kB / 0.8414 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.3711, allocations: 0 / 0.8414 GB, free: 2.469 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.00178/0.3729, allocations: 0.9845 MB / 0.8424 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.373, allocations: 8.031 kB / 0.8424 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3744, allocations: 204.2 kB / 0.8426 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.3752, allocations: 0.5183 MB / 0.8431 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.3752, allocations: 45.36 kB / 0.8431 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3754, allocations: 56.55 kB / 0.8432 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3766, allocations: 0.824 MB / 0.844 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.3766, allocations: 11.98 kB / 0.844 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.3767, allocations: 23.92 kB / 0.844 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.3769, allocations: 68.95 kB / 0.8441 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.3777, allocations: 0.5696 MB / 0.8447 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004839/0.3826, allocations: 4.562 MB / 0.8491 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.3831, allocations: 299.2 kB / 0.8494 GB, free: 9.777 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.3834, allocations: 225.3 kB / 0.8496 GB, free: 9.555 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.3835, allocations: 4.281 kB / 0.8496 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3835, allocations: 38.78 kB / 0.8496 GB, free: 9.504 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.3835, allocations: 0 / 0.8496 GB, free: 9.504 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.005881/0.3894, allocations: 2.651 MB / 0.8522 GB, free: 6.727 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3895, allocations: 63.33 kB / 0.8523 GB, free: 6.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.39, allocations: 457.9 kB / 0.8527 GB, free: 6.191 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.3901, allocations: 33.7 kB / 0.8528 GB, free: 6.152 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.3904, allocations: 348.5 kB / 0.8531 GB, free: 5.805 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3905, allocations: 154.6 kB / 0.8532 GB, free: 5.652 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.3907, allocations: 102.2 kB / 0.8533 GB, free: 5.547 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3909, allocations: 366.8 kB / 0.8537 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.3912, allocations: 233 kB / 0.8539 GB, free: 4.949 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.3917, allocations: 402.5 kB / 0.8543 GB, free: 4.484 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.3926, allocations: 0.6856 MB / 0.855 GB, free: 3.727 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3926, allocations: 4 kB / 0.855 GB, free: 3.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00165/0.3943, allocations: 0.9214 MB / 0.8559 GB, free: 2.785 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.3943, allocations: 4 kB / 0.8559 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3944, allocations: 8 kB / 0.8559 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008141/0.3952, allocations: 226.7 kB / 0.8561 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.3957, allocations: 115.8 kB / 0.8562 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/0.4009, allocations: 5.34 MB / 0.8614 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.4015, allocations: 31.97 kB / 0.8615 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.4015, allocations: 20 kB / 0.8615 GB, free: 12.62 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.0003674/0.4019, allocations: 225.7 kB / 0.8617 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.402, allocations: 63.56 kB / 0.8618 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4035, allocations: 0.7772 MB / 0.8625 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4036, allocations: 4 kB / 0.8625 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4036, allocations: 4 kB / 0.8625 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4036, allocations: 3.984 kB / 0.8625 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.4061, allocations: 1.494 MB / 0.864 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4061, allocations: 4 kB / 0.864 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.4065, allocations: 67.98 kB / 0.864 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.4072, allocations: 210.6 kB / 0.8642 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.4073, allocations: 12 kB / 0.8643 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005338/0.4126, allocations: 5.277 MB / 0.8694 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.4126, allocations: 4 kB / 0.8694 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.4145, allocations: 1.147 MB / 0.8705 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.4149, allocations: 164.8 kB / 0.8707 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.415, allocations: 15.94 kB / 0.8707 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.4154, allocations: 23.97 kB / 0.8707 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4156, allocations: 31.95 kB / 0.8708 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4156, allocations: 16 kB / 0.8708 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004106/0.416, allocations: 310.9 kB / 0.8711 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.416, allocations: 64 / 0.8711 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008687/0.4169, allocations: 172 kB / 0.8712 GB, free: 2.008 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.0002263/0.4171, allocations: 111.2 kB / 0.8713 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.419, allocations: 1.024 MB / 0.8723 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.4191, allocations: 0 / 0.8723 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.4201, allocations: 0.6837 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.001134/0.4213, allocations: 190.8 kB / 0.8732 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.4241, allocations: 1.258 MB / 0.8744 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.4249, allocations: 0.9494 MB / 0.8754 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004838/0.4254, allocations: 117 kB / 0.8755 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.4256, allocations: 35.44 kB / 0.8755 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of SimCode: time 2.194e-06/0.4256, allocations: 0 / 0.8755 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of Templates: time 0.0215/0.4471, allocations: 8.963 MB / 0.8842 GB, free: 4.637 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)