Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.827/1.827, allocations: 287.5 MB / 302.6 MB, free: 8.168 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.001032/0.001032, allocations: 170.8 kB / 371.2 MB, free: 10.83 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.837/1.837, 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.000863/0.0008632, allocations: 97.22 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 10.28 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2233, 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.ACSimpleGrid): time 0.00396/0.2273, allocations: 3.831 MB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.2309, allocations: 3.014 MB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.2312, allocations: 7.938 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.2319, allocations: 151.1 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2329, allocations: 320.6 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.2335, allocations: 171.6 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000764/0.2342, allocations: 0.6619 MB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.2353, allocations: 0.8138 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.2357, allocations: 183.2 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.2361, allocations: 239.1 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.2362, allocations: 24 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.2368, allocations: 231.7 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2369, allocations: 139.6 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2371, allocations: 105.5 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.2377, allocations: 0.6702 MB / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2378, allocations: 0 / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2378, allocations: 0 / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.2378, allocations: 0 / 0.989 GB, free: 17.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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001219/0.239, allocations: 0.713 MB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2391, allocations: 8.031 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.2415, allocations: 0.6907 MB / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.2421, allocations: 483.7 kB / 0.9908 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2422, allocations: 25.02 kB / 0.9908 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.2422, allocations: 32.12 kB / 0.9909 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2435, allocations: 0.7943 MB / 0.9916 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2435, allocations: 0 / 0.9916 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.2436, allocations: 12 kB / 0.9917 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.2437, allocations: 52.59 kB / 0.9917 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2453, allocations: 0.8804 MB / 0.9926 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.2483, allocations: 2.859 MB / 0.9954 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.2497, allocations: 0.5214 MB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.2503, allocations: 268.6 kB / 0.9961 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.73e-05/0.2503, allocations: 85.09 kB / 0.9962 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2504, allocations: 34.56 kB / 0.9962 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2504, allocations: 0 / 0.9962 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01018/0.2606, allocations: 3.212 MB / 0.9994 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2606, allocations: 81.11 kB / 0.9995 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.2611, allocations: 425.5 kB / 0.9999 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2611, allocations: 29.7 kB / 0.9999 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.2612, allocations: 235.9 kB / 1 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.2613, allocations: 90.73 kB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.2613, allocations: 4 kB / 1 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.2614, allocations: 342.8 kB / 1.001 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.2622, allocations: 375.5 kB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.263, allocations: 445.1 kB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.2645, allocations: 0.7787 MB / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2645, allocations: 0 / 1.002 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004302/0.2688, allocations: 1.546 MB / 1.004 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.2689, allocations: 147.9 kB / 1.004 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2689, allocations: 0 / 1.004 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.2723, allocations: 0.848 MB / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.2729, allocations: 135.8 kB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/0.2793, allocations: 4.672 MB / 1.009 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.28, allocations: 115.8 kB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.2801, allocations: 19.98 kB / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.2801, allocations: 8.062 kB / 1.009 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004074/0.2842, allocations: 1.257 MB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2842, allocations: 4.188 kB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.2867, allocations: 0.5469 MB / 1.011 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.2873, allocations: 147.8 kB / 1.011 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/0.2908, allocations: 2.498 MB / 1.014 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.2915, allocations: 115.9 kB / 1.014 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.2916, allocations: 11.98 kB / 1.014 GB, free: 7.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.292, allocations: 326 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.292, allocations: 31.62 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.2966, allocations: 1.424 MB / 1.016 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2967, allocations: 4.141 kB / 1.016 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2967, allocations: 3.984 kB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2967, allocations: 3.938 kB / 1.016 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.302, allocations: 2.104 MB / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.302, allocations: 0 / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.3024, allocations: 83.91 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/0.3059, allocations: 0.7857 MB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.306, allocations: 11.98 kB / 1.019 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.312, allocations: 4.485 MB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.312, allocations: 4.062 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.3164, allocations: 1.443 MB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.3168, allocations: 168.7 kB / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.3169, allocations: 11.94 kB / 1.024 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.3175, allocations: 95.84 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3176, allocations: 27.91 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.3177, allocations: 7.984 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004259/0.3181, allocations: 307.1 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3181, allocations: 4 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008847/0.319, allocations: 212 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.3192, allocations: 107.2 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003882/0.3231, allocations: 1.633 MB / 1.027 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3231, allocations: 0 / 1.027 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.3245, allocations: 0.669 MB / 1.027 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.3252, allocations: 117.3 kB / 1.028 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3273, allocations: 1.217 MB / 1.029 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3278, allocations: 0.9132 MB / 1.03 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005503/0.3284, allocations: 151.2 kB / 1.03 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3285, allocations: 35.42 kB / 1.03 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.3285, allocations: 3.938 kB / 1.03 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of Templates: time 0.01891/0.3474, allocations: 11.92 MB / 1.041 GB, free: 10.35 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)