Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.67/2.67, allocations: 287.5 MB / 302.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.001329, allocations: 188.9 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.58 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 14.78 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2341, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00716/0.2414, allocations: 4.805 MB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005714/0.2471, allocations: 2.488 MB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.248, allocations: 19.88 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.2485, allocations: 99.14 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.2499, allocations: 342.2 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2512, allocations: 296.8 kB / 0.9862 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.2529, allocations: 1.037 MB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.2546, allocations: 0.7404 MB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.2554, allocations: 310.7 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.2561, allocations: 378.5 kB / 0.9886 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2562, allocations: 28 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.2569, allocations: 183.7 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2572, allocations: 223.3 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2574, allocations: 141.4 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.2584, allocations: 0.7171 MB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2585, allocations: 7.875 kB / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2585, allocations: 0 / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.2585, allocations: 0 / 0.9899 GB, free: 16.53 MB / 0.6198 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.002595/0.2611, allocations: 0.8491 MB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.2612, allocations: 12.03 kB / 0.9907 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/0.2651, allocations: 194.9 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.267, allocations: 473.5 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.2671, allocations: 33 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.2676, allocations: 55.97 kB / 0.9914 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.2702, allocations: 0.8277 MB / 0.9922 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.157e-05/0.2703, allocations: 7.984 kB / 0.9922 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.2705, allocations: 28 kB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000553/0.2711, allocations: 60.95 kB / 0.9923 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.2731, allocations: 0.5657 MB / 0.9929 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/0.279, allocations: 4.589 MB / 0.9974 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.2797, allocations: 291.3 kB / 0.9976 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/0.2802, allocations: 225.3 kB / 0.9979 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.2803, allocations: 4.281 kB / 0.9979 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2803, allocations: 42.84 kB / 0.9979 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/0.2803, allocations: 3.938 kB / 0.9979 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008449/0.2888, allocations: 2.622 MB / 1 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2889, allocations: 55.41 kB / 1.001 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.2895, allocations: 457.9 kB / 1.001 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.2895, allocations: 33.7 kB / 1.001 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.2898, allocations: 347.6 kB / 1.001 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2899, allocations: 141.9 kB / 1.001 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.29, allocations: 16 kB / 1.001 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.2901, allocations: 358.8 kB / 1.002 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.2906, allocations: 237 kB / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.2912, allocations: 402.5 kB / 1.002 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.2919, allocations: 297.7 kB / 1.003 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.292, allocations: 0 / 1.003 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002493/0.2945, allocations: 0.9214 MB / 1.004 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2945, allocations: 8 kB / 1.004 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.2945, allocations: 4 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2958, allocations: 230.7 kB / 1.004 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.2967, allocations: 115.8 kB / 1.004 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007389/0.3041, allocations: 4.931 MB / 1.009 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.305, allocations: 27.97 kB / 1.009 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.3051, allocations: 27.98 kB / 1.009 GB, free: 11.91 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.3056, allocations: 218.9 kB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.3057, allocations: 63.28 kB / 1.009 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.3083, allocations: 0.7665 MB / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.3083, allocations: 4 kB / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3084, allocations: 4 kB / 1.01 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3084, allocations: 3.984 kB / 1.01 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.3124, allocations: 1.506 MB / 1.011 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.3124, allocations: 0 / 1.011 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.3132, allocations: 71.89 kB / 1.011 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.3144, allocations: 206.7 kB / 1.012 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.3144, allocations: 11.98 kB / 1.012 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/0.3219, allocations: 4.868 MB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3219, allocations: 3.938 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.325, allocations: 1.131 MB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.3255, allocations: 168.4 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3256, allocations: 12 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.3262, allocations: 27.97 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3263, allocations: 35.84 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.3264, allocations: 16 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005594/0.327, allocations: 302.9 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.327, allocations: 3.938 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000968/0.328, allocations: 176.1 kB / 1.018 GB, free: 1.746 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/0.3282, allocations: 107.2 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.3308, allocations: 1.004 MB / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3308, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.3324, allocations: 0.676 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.3339, allocations: 169.7 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3373, allocations: 1.492 MB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.3381, allocations: 0.9455 MB / 1.022 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000691/0.3388, allocations: 117 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.339, allocations: 39.42 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.339, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.02509/0.3641, allocations: 8.152 MB / 1.031 GB, free: 4.996 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)