Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.746/2.746, allocations: 287.5 MB / 302.4 MB, free: 8.391 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.001389/0.001389, allocations: 189.9 kB / 371 MB, free: 10.84 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.354/2.354, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.0009395/0.0009391, allocations: 86.41 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006729, allocations: 11.25 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2338, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007334/0.2412, allocations: 4.879 MB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.2469, allocations: 2.504 MB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006187/0.2476, allocations: 27.75 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.248, allocations: 103.1 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2492, allocations: 334.2 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2505, allocations: 297.6 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.2522, allocations: 1.045 MB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.2539, allocations: 0.7437 MB / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007406/0.2547, allocations: 306.7 kB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.2554, allocations: 374.6 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.2555, allocations: 28 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.2562, allocations: 191.7 kB / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.2565, allocations: 207.4 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2568, allocations: 157.3 kB / 0.9893 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2578, allocations: 0.7249 MB / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2579, allocations: 0 / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2579, allocations: 3.938 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.2579, allocations: 0 / 0.99 GB, free: 16.37 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.001905/0.2598, allocations: 0.8606 MB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2599, allocations: 12.03 kB / 0.9908 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.2619, allocations: 191 kB / 0.991 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2629, allocations: 481.4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.263, allocations: 40.98 kB / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2632, allocations: 47.95 kB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.2648, allocations: 0.8239 MB / 0.9924 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.2648, allocations: 7.938 kB / 0.9924 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.2649, allocations: 23.98 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/0.2652, allocations: 72.88 kB / 0.9925 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2665, allocations: 0.5658 MB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005705/0.2723, allocations: 4.593 MB / 0.9975 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.273, allocations: 291.3 kB / 0.9978 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.2735, allocations: 221.3 kB / 0.998 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2736, allocations: 4.281 kB / 0.998 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2736, allocations: 38.84 kB / 0.998 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.105e-06/0.2736, allocations: 4 kB / 0.998 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008623/0.2822, allocations: 2.635 MB / 1.001 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2823, allocations: 55.41 kB / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.2831, allocations: 454 kB / 1.001 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/0.2832, allocations: 33.7 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2834, allocations: 347.6 kB / 1.001 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2835, allocations: 142 kB / 1.002 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.2836, allocations: 8 kB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2837, allocations: 366.8 kB / 1.002 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.2843, allocations: 236.9 kB / 1.002 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.2849, allocations: 406.5 kB / 1.003 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.2856, allocations: 293.7 kB / 1.003 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2856, allocations: 4 kB / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002626/0.2882, allocations: 0.9139 MB / 1.004 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.2883, allocations: 4 kB / 1.004 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.2883, allocations: 8 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2896, allocations: 230.4 kB / 1.004 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.2906, allocations: 115.8 kB / 1.004 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/0.2983, allocations: 4.946 MB / 1.009 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.2993, allocations: 35.91 kB / 1.009 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.2994, allocations: 24.06 kB / 1.009 GB, free: 11.71 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.0004978/0.2999, allocations: 222.9 kB / 1.009 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3001, allocations: 59.28 kB / 1.009 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.3027, allocations: 0.7741 MB / 1.01 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3028, allocations: 4 kB / 1.01 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3028, allocations: 4 kB / 1.01 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3028, allocations: 7.938 kB / 1.01 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.3073, allocations: 1.494 MB / 1.011 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.3074, allocations: 4 kB / 1.011 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.3082, allocations: 71.88 kB / 1.012 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.3095, allocations: 202.6 kB / 1.012 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.3096, allocations: 8 kB / 1.012 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007961/0.3176, allocations: 4.872 MB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3176, allocations: 4.062 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.3209, allocations: 1.131 MB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.3215, allocations: 176.3 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3216, allocations: 11.98 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.3222, allocations: 32.03 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3224, allocations: 39.78 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.3224, allocations: 16 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005896/0.323, allocations: 302.9 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3231, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001121/0.3242, allocations: 172 kB / 1.018 GB, free: 1.539 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.000268/0.3245, allocations: 115.2 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.3274, allocations: 0.9965 MB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.3274, allocations: 4.125 kB / 1.019 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.3292, allocations: 0.6759 MB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.331, allocations: 163.1 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.3349, allocations: 1.508 MB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.3358, allocations: 0.9494 MB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007749/0.3366, allocations: 121 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3368, allocations: 39.44 kB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/0.3368, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.02717/0.364, allocations: 8.149 MB / 1.031 GB, free: 4.766 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)