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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.709/1.709, allocations: 287.5 MB / 302.6 MB, free: 8.359 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.001462/0.001462, allocations: 182.8 kB / 371.2 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 1.862/1.862, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008474/0.0008475, allocations: 97.22 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 11.34 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005451/0.2734, allocations: 5.37 MB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.2778, allocations: 3.023 MB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.2786, allocations: 27.81 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.2791, allocations: 111 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.2805, allocations: 378 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2819, allocations: 360.6 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.2834, allocations: 1.217 MB / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.2852, allocations: 0.9778 MB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.286, allocations: 358.4 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.2868, allocations: 438.4 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.2869, allocations: 28 kB / 0.9906 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008422/0.2878, allocations: 255.6 kB / 0.9909 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.2881, allocations: 255.3 kB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.2884, allocations: 157.3 kB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.2896, allocations: 0.8729 MB / 0.9921 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2896, allocations: 0 / 0.9921 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2896, allocations: 0 / 0.9921 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.483e-05/0.2897, allocations: 0 / 0.9921 GB, free: 14.34 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.001592/0.2913, allocations: 0.9138 MB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2913, allocations: 12.03 kB / 0.993 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.2928, allocations: 219.7 kB / 0.9933 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.2935, allocations: 0.5298 MB / 0.9938 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.2936, allocations: 45.69 kB / 0.9938 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/0.2937, allocations: 72.28 kB / 0.9939 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.2949, allocations: 1.026 MB / 0.9949 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.2949, allocations: 11.84 kB / 0.9949 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.295, allocations: 28 kB / 0.9949 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/0.295, allocations: 65.27 kB / 0.995 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.2959, allocations: 0.6918 MB / 0.9957 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.2996, allocations: 5.764 MB / 1.001 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.3003, allocations: 0.5995 MB / 1.002 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.3009, allocations: 416.6 kB / 1.002 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3009, allocations: 4 kB / 1.002 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.301, allocations: 46.55 kB / 1.002 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.337e-06/0.301, allocations: 0 / 1.002 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003701/0.3047, allocations: 2.053 MB / 1.004 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3047, allocations: 55.41 kB / 1.004 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.3051, allocations: 462.6 kB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3052, allocations: 29.7 kB / 1.005 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3053, allocations: 383.1 kB / 1.005 GB, free: 144 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3055, allocations: 153.9 kB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.3055, allocations: 11.94 kB / 1.005 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3057, allocations: 366.7 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3061, allocations: 245.2 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.3066, allocations: 461 kB / 1.006 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.3076, allocations: 0.7478 MB / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3076, allocations: 4 kB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001884/0.3095, allocations: 1.061 MB / 1.008 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3095, allocations: 8.875 kB / 1.008 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3095, allocations: 8 kB / 1.008 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.3106, allocations: 331.1 kB / 1.008 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.3109, allocations: 95.88 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.3181, allocations: 6.947 MB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.3186, allocations: 36.02 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.3186, allocations: 24 kB / 1.015 GB, free: 4.906 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003823/0.319, allocations: 245.5 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.3191, allocations: 55.62 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3208, allocations: 0.9155 MB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3208, allocations: 4.141 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3208, allocations: 11.92 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3208, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.3235, allocations: 1.704 MB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3236, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3237, allocations: 47.91 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009054/0.3246, allocations: 319.2 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.3247, allocations: 12 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.3317, allocations: 6.925 MB / 1.025 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3317, allocations: 4.031 kB / 1.025 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.3335, allocations: 1.011 MB / 1.026 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.3338, allocations: 176.5 kB / 1.027 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.3339, allocations: 11.98 kB / 1.027 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3342, allocations: 19.98 kB / 1.027 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3343, allocations: 51.86 kB / 1.027 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3344, allocations: 16.22 kB / 1.027 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003564/0.3347, allocations: 294.9 kB / 1.027 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3348, allocations: 8 kB / 1.027 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008284/0.3356, allocations: 195.9 kB / 1.027 GB, free: 8.18 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.3358, allocations: 103.2 kB / 1.027 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.3378, allocations: 1.214 MB / 1.028 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3378, allocations: 0 / 1.028 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.339, allocations: 0.8579 MB / 1.029 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3401, allocations: 182.5 kB / 1.029 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3425, allocations: 1.479 MB / 1.031 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.3433, allocations: 0.9843 MB / 1.032 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.3436, allocations: 97.17 kB / 1.032 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.3437, allocations: 39.42 kB / 1.032 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of SimCode: time 6.32e-07/0.3437, allocations: 0 / 1.032 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of Templates: time 0.01767/0.3614, allocations: 9.195 MB / 1.041 GB, free: 9.938 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)