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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.713/2.713, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001515/0.001515, allocations: 181.1 kB / 370.8 MB, free: 10.88 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.344/2.344, allocations: 205.4 MB / 0.6295 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.001179/0.001179, allocations: 92.3 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001053, allocations: 12 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2148, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00836/0.2233, allocations: 5.71 MB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2334, allocations: 2.902 MB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2347, allocations: 23.81 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.2356, allocations: 123.1 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.2383, allocations: 418.7 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.2403, allocations: 325.4 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.242, allocations: 0.735 MB / 0.9882 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.2444, allocations: 0.9184 MB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008624/0.2453, allocations: 354.8 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008338/0.2461, allocations: 390.5 kB / 0.9898 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2463, allocations: 39.94 kB / 0.9898 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.2469, allocations: 151.8 kB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.2472, allocations: 251.2 kB / 0.9902 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.2475, allocations: 177.3 kB / 0.9904 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2487, allocations: 0.8612 MB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2488, allocations: 0 / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2488, allocations: 0 / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.2488, allocations: 0 / 0.9912 GB, free: 14.98 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002464/0.2513, allocations: 1.001 MB / 0.9922 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2513, allocations: 8.031 kB / 0.9922 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.2534, allocations: 222.6 kB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2548, allocations: 0.5249 MB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.2549, allocations: 49.3 kB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.255, allocations: 63.98 kB / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.2572, allocations: 1.077 MB / 0.9941 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.2573, allocations: 7.906 kB / 0.9941 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.2574, allocations: 28 kB / 0.9941 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002468/0.2577, allocations: 85.19 kB / 0.9942 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2596, allocations: 0.7542 MB / 0.9949 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/0.2669, allocations: 5.894 MB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.2685, allocations: 0.5559 MB / 1.001 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.934e-05/0.2686, allocations: 4.438 kB / 1.001 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2686, allocations: 42.98 kB / 1.001 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.047e-06/0.2686, allocations: 0 / 1.001 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.005981/0.2746, allocations: 1.984 MB / 1.003 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2747, allocations: 59.84 kB / 1.003 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.2755, allocations: 0.543 MB / 1.004 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.2757, allocations: 37.7 kB / 1.004 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.276, allocations: 418.9 kB / 1.004 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2762, allocations: 169.6 kB / 1.004 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.2762, allocations: 16 kB / 1.004 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2763, allocations: 374.8 kB / 1.005 GB, free: 320 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.277, allocations: 273.8 kB / 1.005 GB, free: 48 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/0.278, allocations: 485 kB / 1.005 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.2789, allocations: 346 kB / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.279, allocations: 8 kB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003353/0.2823, allocations: 1.075 MB / 1.007 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.2824, allocations: 8 kB / 1.007 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.2825, allocations: 8 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.284, allocations: 279.2 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.2852, allocations: 127.8 kB / 1.007 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.2958, allocations: 6.704 MB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.2969, allocations: 40.34 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.297, allocations: 28 kB / 1.014 GB, free: 6.309 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 (67): * Single equations (assignments): 63 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.2976, allocations: 251.7 kB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.2978, allocations: 75.14 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.3005, allocations: 0.8846 MB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.3006, allocations: 12 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3006, allocations: 4 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3006, allocations: 7.984 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.3054, allocations: 1.717 MB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.3055, allocations: 0 / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.3061, allocations: 63.84 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.3075, allocations: 267.4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/0.3076, allocations: 8 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.3229, allocations: 6.685 MB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.323, allocations: 4.062 kB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/0.3274, allocations: 1.056 MB / 1.025 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/0.3282, allocations: 192.2 kB / 1.025 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.3285, allocations: 12 kB / 1.025 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.3296, allocations: 27.92 kB / 1.025 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.3299, allocations: 47.88 kB / 1.025 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.33, allocations: 16.38 kB / 1.025 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001084/0.3311, allocations: 375.1 kB / 1.025 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.362e-06/0.3312, allocations: 4 kB / 1.025 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002093/0.3333, allocations: 224 kB / 1.026 GB, free: 9.641 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003534/0.3337, allocations: 112 kB / 1.026 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005281/0.339, allocations: 1.264 MB / 1.027 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/0.3391, allocations: 4 kB / 1.027 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.3425, allocations: 0.8935 MB / 1.028 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.3451, allocations: 191.7 kB / 1.028 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.3511, allocations: 1.586 MB / 1.029 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.3524, allocations: 1.02 MB / 1.03 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001223/0.3537, allocations: 126.2 kB / 1.031 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.3542, allocations: 43.42 kB / 1.031 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/0.3543, allocations: 0 / 1.031 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.03878/0.3931, allocations: 10.27 MB / 1.041 GB, free: 10.09 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)