Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001199/0.001199, allocations: 177.1 kB / 371.8 MB, free: 10.26 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.737/1.737, allocations: 205.4 MB / 0.6306 GB, free: 9.914 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.0008487/0.0008487, allocations: 101.8 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004695, allocations: 19.39 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003446/0.1964, allocations: 3.691 MB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003/0.1994, allocations: 2.929 MB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1996, allocations: 11.94 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.2, allocations: 163.2 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.2006, allocations: 295 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.201, allocations: 180.8 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.2013, allocations: 343.2 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.2022, allocations: 0.7236 MB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2023, allocations: 159.4 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2025, allocations: 183.2 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.2026, allocations: 20 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.2029, allocations: 227.7 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.203, allocations: 135.6 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.2031, allocations: 101.5 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.2036, allocations: 0.6665 MB / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.2036, allocations: 0 / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2036, allocations: 4 kB / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2036, allocations: 0 / 0.989 GB, free: 17.82 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.0009768/0.2046, allocations: 0.7129 MB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.2046, allocations: 12.03 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.2072, allocations: 0.6976 MB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.2079, allocations: 474.6 kB / 0.9908 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.208, allocations: 28.58 kB / 0.9909 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/0.2081, allocations: 32 kB / 0.9909 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.2094, allocations: 0.7864 MB / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2094, allocations: 0 / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.2094, allocations: 15.95 kB / 0.9917 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.2096, allocations: 52.59 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.2113, allocations: 0.8726 MB / 0.9926 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.2145, allocations: 2.87 MB / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.216, allocations: 0.5215 MB / 0.9959 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.609e-05/0.2161, allocations: 81.11 kB / 0.996 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.2162, allocations: 34.56 kB / 0.996 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.2162, allocations: 0 / 0.996 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01068/0.2268, allocations: 3.222 MB / 0.9991 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2269, allocations: 81.11 kB / 0.9992 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2273, allocations: 417.6 kB / 0.9996 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.2273, allocations: 25.7 kB / 0.9996 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2274, allocations: 243.8 kB / 0.9999 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.2275, allocations: 86.75 kB / 1 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.2275, allocations: 4 kB / 1 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.2276, allocations: 350.8 kB / 1 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.2284, allocations: 367.5 kB / 1.001 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.2293, allocations: 449.3 kB / 1.001 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.2301, allocations: 382.8 kB / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.2301, allocations: 4 kB / 1.001 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004659/0.2348, allocations: 1.542 MB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.2349, allocations: 0.7865 MB / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2349, allocations: 0 / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.2386, allocations: 0.852 MB / 1.005 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.2392, allocations: 135.7 kB / 1.005 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.2459, allocations: 4.788 MB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.2467, allocations: 123.9 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.2467, allocations: 12 kB / 1.009 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2468, allocations: 5.562 kB / 1.009 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004187/0.2509, allocations: 1.265 MB / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.251, allocations: 0 / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/0.2536, allocations: 0.5549 MB / 1.011 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.2542, allocations: 143.8 kB / 1.011 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.2578, allocations: 2.568 MB / 1.014 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.2586, allocations: 111.9 kB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.2586, allocations: 8 kB / 1.014 GB, free: 7.191 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.0003904/0.259, allocations: 325 kB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.2591, allocations: 35.62 kB / 1.014 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.2638, allocations: 1.423 MB / 1.016 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.2639, allocations: 8 kB / 1.016 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2639, allocations: 0 / 1.016 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2639, allocations: 4.266 kB / 1.016 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/0.2696, allocations: 2.096 MB / 1.018 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2696, allocations: 4 kB / 1.018 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.2701, allocations: 83.98 kB / 1.018 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/0.2736, allocations: 0.7973 MB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.2737, allocations: 8 kB / 1.019 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.2798, allocations: 4.599 MB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2799, allocations: 7.969 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.2844, allocations: 1.472 MB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.2847, allocations: 164.7 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.2848, allocations: 11.98 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.2854, allocations: 99.86 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2855, allocations: 27.89 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2856, allocations: 11.94 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003625/0.2859, allocations: 311.1 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2859, allocations: 0 / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008425/0.2868, allocations: 208 kB / 1.025 GB, free: 11.08 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.0001888/0.287, allocations: 115.2 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003557/0.2906, allocations: 1.624 MB / 1.027 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2906, allocations: 0 / 1.027 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.2919, allocations: 0.6759 MB / 1.028 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.2926, allocations: 102 kB / 1.028 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2948, allocations: 1.211 MB / 1.029 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.2954, allocations: 0.9249 MB / 1.03 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005591/0.2959, allocations: 155.2 kB / 1.03 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2961, allocations: 35.41 kB / 1.03 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.2961, allocations: 3.938 kB / 1.03 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of Templates: time 0.01893/0.315, allocations: 11.92 MB / 1.042 GB, free: 10.25 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)