Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.00137/0.001369, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001169/0.001169, allocations: 99.64 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 14.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004812/0.2476, allocations: 5.211 MB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.2522, allocations: 2.992 MB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.2529, allocations: 23.81 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.2533, allocations: 111.2 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.2545, allocations: 346.9 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2557, allocations: 361.1 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009969/0.2568, allocations: 0.6414 MB / 0.9889 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.2582, allocations: 0.9106 MB / 0.9898 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.2586, allocations: 326.8 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.259, allocations: 346.7 kB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.2591, allocations: 35.94 kB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.2596, allocations: 203.7 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2597, allocations: 227.3 kB / 0.9908 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.2599, allocations: 157.3 kB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.2605, allocations: 0.8417 MB / 0.9918 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2605, allocations: 0 / 0.9918 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2606, allocations: 0 / 0.9918 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2606, allocations: 0 / 0.9918 GB, free: 14.93 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001187/0.2618, allocations: 0.9115 MB / 0.9927 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2618, allocations: 8.031 kB / 0.9927 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.263, allocations: 210.8 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.2637, allocations: 0.5132 MB / 0.9934 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2637, allocations: 49.3 kB / 0.9935 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.2638, allocations: 56 kB / 0.9935 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.2649, allocations: 1.029 MB / 0.9945 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.265, allocations: 15.83 kB / 0.9945 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.265, allocations: 28 kB / 0.9946 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.2651, allocations: 65.27 kB / 0.9946 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.2659, allocations: 0.6879 MB / 0.9953 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.2698, allocations: 5.753 MB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.2705, allocations: 0.5996 MB / 1.002 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.2706, allocations: 8 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2706, allocations: 38.56 kB / 1.002 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.427e-06/0.2706, allocations: 0 / 1.002 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003447/0.2741, allocations: 1.893 MB / 1.003 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2741, allocations: 63.39 kB / 1.003 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.2745, allocations: 454.7 kB / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2745, allocations: 33.7 kB / 1.004 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2747, allocations: 383 kB / 1.004 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.2748, allocations: 153.8 kB / 1.004 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2748, allocations: 12 kB / 1.004 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.2749, allocations: 362.8 kB / 1.005 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.2752, allocations: 233.1 kB / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2755, allocations: 445 kB / 1.005 GB, free: 72 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.2759, allocations: 295.8 kB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.276, allocations: 4 kB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001658/0.2776, allocations: 0.9756 MB / 1.007 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2777, allocations: 8 kB / 1.007 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2777, allocations: 8.875 kB / 1.007 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/0.2786, allocations: 267.1 kB / 1.007 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.2789, allocations: 103.8 kB / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.2855, allocations: 6.755 MB / 1.014 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.2861, allocations: 32.28 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.2862, allocations: 28 kB / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.2866, allocations: 237.6 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.2867, allocations: 63.36 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2882, allocations: 0.8341 MB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.2882, allocations: 12 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2882, allocations: 0 / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2883, allocations: 4 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.2909, allocations: 1.703 MB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2909, allocations: 12.08 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.2912, allocations: 51.89 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008859/0.292, allocations: 251.1 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2921, allocations: 8 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.2985, allocations: 6.448 MB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2986, allocations: 3.938 kB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.3004, allocations: 0.9742 MB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.3007, allocations: 172.4 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.3008, allocations: 8 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.301, allocations: 19.98 kB / 1.024 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.3012, allocations: 47.89 kB / 1.024 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.3012, allocations: 12 kB / 1.024 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003726/0.3016, allocations: 298.9 kB / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3016, allocations: 0 / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008499/0.3024, allocations: 188 kB / 1.025 GB, free: 10.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.3026, allocations: 116.5 kB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.3045, allocations: 1.136 MB / 1.026 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3046, allocations: 4.125 kB / 1.026 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.3057, allocations: 0.7992 MB / 1.027 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.3066, allocations: 184.6 kB / 1.027 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3089, allocations: 1.454 MB / 1.028 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.3096, allocations: 1.004 MB / 1.029 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.3099, allocations: 109.1 kB / 1.029 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.31, allocations: 35.44 kB / 1.029 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/0.31, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of Templates: time 0.01732/0.3274, allocations: 8.628 MB / 1.038 GB, free: 13.38 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)