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 2.676/2.676, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001598/0.001598, allocations: 173 kB / 370.8 MB, free: 10.87 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.148/2.148, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001625/0.001624, allocations: 92.31 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006963/0.0006965, allocations: 15.75 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2207, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00785/0.2286, allocations: 5.219 MB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.2345, allocations: 2.98 MB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.235, allocations: 23.81 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.2354, allocations: 115.2 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2365, allocations: 346.9 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2379, allocations: 357.3 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.2393, allocations: 0.6415 MB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.2418, allocations: 0.9182 MB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.2426, allocations: 322.8 kB / 0.9888 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.2433, allocations: 346.7 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2434, allocations: 32 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.2441, allocations: 203.6 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.2444, allocations: 235.3 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.2447, allocations: 165.3 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.246, allocations: 0.8378 MB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2461, allocations: 0 / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2461, allocations: 0 / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.2461, allocations: 0 / 0.9906 GB, free: 15.61 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.001994/0.2481, allocations: 0.8959 MB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2482, allocations: 12.03 kB / 0.9915 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.2502, allocations: 214.7 kB / 0.9917 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.2514, allocations: 0.521 MB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.2515, allocations: 45.3 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.2516, allocations: 67.97 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.2535, allocations: 1.014 MB / 0.9933 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.2536, allocations: 15.83 kB / 0.9933 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.2537, allocations: 31.98 kB / 0.9933 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.2538, allocations: 65.28 kB / 0.9934 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.2554, allocations: 0.6918 MB / 0.9941 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005822/0.2612, allocations: 5.749 MB / 0.9997 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.2624, allocations: 0.5994 MB / 1 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.2625, allocations: 4 kB / 1 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2625, allocations: 34.56 kB / 1 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.905e-06/0.2625, allocations: 4 kB / 1 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005845/0.2684, allocations: 1.889 MB / 1.002 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2684, allocations: 55.41 kB / 1.002 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.269, allocations: 454.7 kB / 1.003 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.269, allocations: 33.7 kB / 1.003 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.2693, allocations: 391 kB / 1.003 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2694, allocations: 153.9 kB / 1.003 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.2695, allocations: 12 kB / 1.003 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.2696, allocations: 362.7 kB / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.2701, allocations: 229.2 kB / 1.004 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.2707, allocations: 441 kB / 1.004 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.2713, allocations: 299.8 kB / 1.004 GB, free: 484 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2713, allocations: 4 kB / 1.004 GB, free: 480 kB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002727/0.2741, allocations: 0.9797 MB / 1.005 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2741, allocations: 11.94 kB / 1.005 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.2741, allocations: 4 kB / 1.005 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.2756, allocations: 271.8 kB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.2763, allocations: 103.8 kB / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.2861, allocations: 6.755 MB / 1.012 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.2868, allocations: 32.05 kB / 1.012 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.2869, allocations: 24 kB / 1.012 GB, free: 7.727 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.000483/0.2874, allocations: 243 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2875, allocations: 63.28 kB / 1.013 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.2902, allocations: 0.8262 MB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2902, allocations: 4 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2902, allocations: 4 kB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2903, allocations: 7.984 kB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.2946, allocations: 1.714 MB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.2947, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.2952, allocations: 47.95 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.2966, allocations: 251.3 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.2966, allocations: 8 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009108/0.3057, allocations: 6.463 MB / 1.022 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3058, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.3084, allocations: 0.9742 MB / 1.023 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.3088, allocations: 168.4 kB / 1.023 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.3089, allocations: 8 kB / 1.023 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.3094, allocations: 19.97 kB / 1.023 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.3096, allocations: 47.84 kB / 1.023 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.3097, allocations: 16 kB / 1.023 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005081/0.3102, allocations: 298.9 kB / 1.023 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3102, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001087/0.3113, allocations: 188 kB / 1.024 GB, free: 11.61 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.0001801/0.3115, allocations: 111.2 kB / 1.024 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.3142, allocations: 1.132 MB / 1.025 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3142, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.316, allocations: 0.7955 MB / 1.026 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.3174, allocations: 181.9 kB / 1.026 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.3206, allocations: 1.461 MB / 1.027 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.3217, allocations: 1 MB / 1.028 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009727/0.3227, allocations: 109.3 kB / 1.028 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.323, allocations: 35.44 kB / 1.028 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of SimCode: time 1.704e-06/0.323, allocations: 0 / 1.028 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of Templates: time 0.03037/0.3534, allocations: 8.621 MB / 1.037 GB, free: 14.07 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)