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 3.067/3.067, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001396/0.001396, allocations: 184.5 kB / 371 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.163/2.163, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009216/0.0009215, allocations: 88.47 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006585, allocations: 11.66 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.24, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007829/0.2479, allocations: 5.37 MB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006339/0.2543, allocations: 3.015 MB / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.2551, allocations: 23.81 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.2556, allocations: 123 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.2571, allocations: 374 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2587, allocations: 357.8 kB / 0.9874 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.2605, allocations: 1.205 MB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.2629, allocations: 0.9054 MB / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/0.2638, allocations: 358.4 kB / 0.9898 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.2645, allocations: 442.4 kB / 0.9902 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2646, allocations: 28 kB / 0.9902 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.2656, allocations: 255.6 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.2659, allocations: 251.3 kB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2661, allocations: 157.3 kB / 0.9909 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.2673, allocations: 0.8729 MB / 0.9917 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2674, allocations: 0 / 0.9917 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2674, allocations: 4 kB / 0.9917 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.2674, allocations: 4 kB / 0.9917 GB, free: 14.59 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.001857/0.2693, allocations: 0.9192 MB / 0.9926 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2693, allocations: 8.031 kB / 0.9926 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.2715, allocations: 222.7 kB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.2727, allocations: 0.5132 MB / 0.9934 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.2728, allocations: 45.3 kB / 0.9934 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.2729, allocations: 67.92 kB / 0.9935 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.2748, allocations: 1.022 MB / 0.9945 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.2749, allocations: 11.84 kB / 0.9945 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.275, allocations: 27.98 kB / 0.9945 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.2751, allocations: 73.27 kB / 0.9946 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.2766, allocations: 0.6918 MB / 0.9953 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006394/0.283, allocations: 5.772 MB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.2844, allocations: 0.5955 MB / 1.001 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.2856, allocations: 409.2 kB / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.2857, allocations: 12 kB / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2858, allocations: 34.56 kB / 1.002 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.598e-06/0.2858, allocations: 0 / 1.002 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.006956/0.2927, allocations: 2.049 MB / 1.004 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2928, allocations: 55.41 kB / 1.004 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.2934, allocations: 458.6 kB / 1.004 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.2935, allocations: 37.7 kB / 1.004 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.2938, allocations: 383 kB / 1.005 GB, free: 420 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2939, allocations: 145.9 kB / 1.005 GB, free: 272 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.294, allocations: 16 kB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.2942, allocations: 366.7 kB / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.2948, allocations: 241.2 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.2957, allocations: 453 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.2965, allocations: 311.8 kB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.2965, allocations: 0 / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003501/0.3, allocations: 1.061 MB / 1.007 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.3001, allocations: 11.06 kB / 1.007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.3002, allocations: 8 kB / 1.007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.3021, allocations: 327.1 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.3028, allocations: 103.8 kB / 1.008 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.3142, allocations: 6.94 MB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.315, allocations: 44.02 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.3151, allocations: 24 kB / 1.015 GB, free: 5.73 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.0005661/0.3156, allocations: 245.5 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.3159, allocations: 55.34 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.319, allocations: 0.9198 MB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3191, allocations: 4 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3191, allocations: 4 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3191, allocations: 7.938 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.3238, allocations: 1.692 MB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3239, allocations: 4 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.3243, allocations: 39.91 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3261, allocations: 323.4 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/0.3262, allocations: 15.95 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.3373, allocations: 6.931 MB / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3374, allocations: 0 / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.3404, allocations: 1.007 MB / 1.026 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.3409, allocations: 184.3 kB / 1.026 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3411, allocations: 8 kB / 1.026 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.3416, allocations: 15.98 kB / 1.026 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.3418, allocations: 39.94 kB / 1.026 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.3418, allocations: 16 kB / 1.026 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005326/0.3424, allocations: 294.9 kB / 1.026 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.514e-06/0.3424, allocations: 4 kB / 1.026 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001139/0.3435, allocations: 199.9 kB / 1.026 GB, free: 9.02 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.0002044/0.3438, allocations: 107.2 kB / 1.026 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003197/0.347, allocations: 1.214 MB / 1.028 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.347, allocations: 0 / 1.028 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.3493, allocations: 0.8581 MB / 1.028 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.3511, allocations: 187.4 kB / 1.029 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.3545, allocations: 1.473 MB / 1.03 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008997/0.3554, allocations: 0.9882 MB / 1.031 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005966/0.3561, allocations: 101.2 kB / 1.031 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3562, allocations: 39.38 kB / 1.031 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/0.3562, allocations: 0 / 1.031 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of Templates: time 0.0287/0.3849, allocations: 9.198 MB / 1.04 GB, free: 10.77 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)