Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.01229/0.01229, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002704/0.002704, allocations: 193 kB / 16.67 MB, free: 5.93 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.743/1.743, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.74/1.74, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001484/0.001484, allocations: 67.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2719, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008143/0.2801, allocations: 5.528 MB / 0.8334 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.2852, allocations: 2.655 MB / 0.836 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.2857, allocations: 23.81 kB / 0.8361 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2876, allocations: 0.6768 MB / 0.8367 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2889, allocations: 425.7 kB / 0.8371 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2901, allocations: 415 kB / 0.8375 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.2913, allocations: 0.9591 MB / 0.8385 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.292, allocations: 466.5 kB / 0.8389 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.2925, allocations: 374.6 kB / 0.8393 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.2931, allocations: 406.4 kB / 0.8396 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.2932, allocations: 51.98 kB / 0.8397 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.2939, allocations: 355.3 kB / 0.84 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.2942, allocations: 255.3 kB / 0.8403 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2946, allocations: 350.2 kB / 0.8406 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2957, allocations: 0.9734 MB / 0.8416 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2957, allocations: 4 kB / 0.8416 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2957, allocations: 0 / 0.8416 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.2957, allocations: 0 / 0.8416 GB, free: 2.297 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.001706/0.2975, allocations: 0.9776 MB / 0.8425 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2975, allocations: 12.03 kB / 0.8425 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.2989, allocations: 195.8 kB / 0.8427 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.2998, allocations: 0.5257 MB / 0.8432 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.2998, allocations: 41.36 kB / 0.8433 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.3, allocations: 52.55 kB / 0.8433 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3013, allocations: 0.8241 MB / 0.8441 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.3014, allocations: 7.938 kB / 0.8441 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.3014, allocations: 23.98 kB / 0.8442 GB, free: 15.47 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.3016, allocations: 64.95 kB / 0.8442 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.3026, allocations: 0.5658 MB / 0.8448 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.3072, allocations: 4.577 MB / 0.8492 GB, free: 9.914 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3077, allocations: 299.3 kB / 0.8495 GB, free: 9.613 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.3081, allocations: 225.2 kB / 0.8497 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.3081, allocations: 4.281 kB / 0.8497 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3081, allocations: 42.84 kB / 0.8498 GB, free: 9.336 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/0.3082, allocations: 0 / 0.8498 GB, free: 9.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=40): time 0.005655/0.3138, allocations: 2.629 MB / 0.8524 GB, free: 6.578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3139, allocations: 55.41 kB / 0.8524 GB, free: 6.512 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.3144, allocations: 466 kB / 0.8528 GB, free: 6.043 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.3144, allocations: 33.7 kB / 0.8529 GB, free: 6.004 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.3147, allocations: 351.5 kB / 0.8532 GB, free: 5.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3148, allocations: 142 kB / 0.8534 GB, free: 5.512 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.315, allocations: 110.1 kB / 0.8535 GB, free: 5.398 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3151, allocations: 358.8 kB / 0.8538 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.3155, allocations: 241 kB / 0.854 GB, free: 4.801 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.316, allocations: 406.4 kB / 0.8544 GB, free: 4.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.3168, allocations: 0.674 MB / 0.8551 GB, free: 3.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3168, allocations: 0 / 0.8551 GB, free: 3.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001644/0.3185, allocations: 0.9246 MB / 0.856 GB, free: 2.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3185, allocations: 8 kB / 0.856 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3185, allocations: 4 kB / 0.856 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/0.3193, allocations: 231 kB / 0.8562 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3198, allocations: 115.8 kB / 0.8563 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005372/0.3252, allocations: 5.336 MB / 0.8615 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.3258, allocations: 31.97 kB / 0.8616 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.3259, allocations: 24.06 kB / 0.8616 GB, free: 12.48 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.0003681/0.3262, allocations: 229.6 kB / 0.8618 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3264, allocations: 59.28 kB / 0.8619 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.3279, allocations: 0.7734 MB / 0.8626 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3279, allocations: 4 kB / 0.8626 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.3279, allocations: 4 kB / 0.8626 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.328, allocations: 3.984 kB / 0.8626 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.3308, allocations: 1.499 MB / 0.8641 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.3309, allocations: 4 kB / 0.8641 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3313, allocations: 67.88 kB / 0.8642 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/0.332, allocations: 202.6 kB / 0.8644 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.332, allocations: 15.94 kB / 0.8644 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.3373, allocations: 5.273 MB / 0.8695 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/0.3373, allocations: 4.031 kB / 0.8695 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3392, allocations: 1.135 MB / 0.8706 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.3396, allocations: 172.4 kB / 0.8708 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3397, allocations: 11.94 kB / 0.8708 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.3401, allocations: 24.16 kB / 0.8708 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3402, allocations: 39.89 kB / 0.8709 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.3402, allocations: 20 kB / 0.8709 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004708/0.3407, allocations: 318.9 kB / 0.8712 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3407, allocations: 0 / 0.8712 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001006/0.3417, allocations: 168 kB / 0.8713 GB, free: 1.863 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.0002517/0.342, allocations: 119.1 kB / 0.8715 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.344, allocations: 1.008 MB / 0.8724 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.344, allocations: 0 / 0.8724 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3451, allocations: 0.6876 MB / 0.8731 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3462, allocations: 195.1 kB / 0.8733 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3488, allocations: 1.249 MB / 0.8745 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.3496, allocations: 0.9455 MB / 0.8754 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004237/0.35, allocations: 109 kB / 0.8756 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3501, allocations: 35.44 kB / 0.8756 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of SimCode: time 1.472e-06/0.3501, allocations: 0 / 0.8756 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of Templates: time 0.01897/0.3691, allocations: 8.982 MB / 0.8844 GB, free: 4.516 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)