Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001004/0.001004, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.603/1.603, allocations: 205.3 MB / 0.626 GB, free: 7.121 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008824, allocations: 81.5 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.884e-05, allocations: 0 / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6757, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.9151, allocations: 182.2 MB / 1.151 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.9155, allocations: 95.94 kB / 1.151 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.06973/0.9852, allocations: 28.5 MB / 1.179 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9853, allocations: 0 / 1.179 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.318e-05/0.9853, allocations: 11.98 kB / 1.179 GB, free: 3.18 MB / 0.7761 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.001094/0.9864, allocations: 0.6852 MB / 1.18 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9864, allocations: 8.031 kB / 1.18 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.9889, allocations: 0.5727 MB / 1.18 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.9897, allocations: 470.7 kB / 1.181 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.9897, allocations: 12 kB / 1.181 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.9898, allocations: 16 kB / 1.181 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007157/0.9905, allocations: 466.1 kB / 1.181 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.9913, allocations: 0.5447 MB / 1.182 GB, free: 320 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.9914, allocations: 0 / 1.182 GB, free: 320 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.9914, allocations: 0 / 1.182 GB, free: 320 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.9914, allocations: 28.7 kB / 1.182 GB, free: 292 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.9951, allocations: 2.793 MB / 1.185 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.9958, allocations: 346.3 kB / 1.185 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.996, allocations: 160.8 kB / 1.185 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.9962, allocations: 93.03 kB / 1.185 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.9962, allocations: 34.56 kB / 1.185 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.9962, allocations: 0 / 1.185 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.004086/1, allocations: 1.535 MB / 1.187 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1, allocations: 87.2 kB / 1.187 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/1.001, allocations: 329 kB / 1.187 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/1.001, allocations: 29.69 kB / 1.187 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.001, allocations: 232 kB / 1.187 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/1.001, allocations: 82.84 kB / 1.187 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.001, allocations: 0 / 1.187 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.001, allocations: 342.8 kB / 1.188 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/1.002, allocations: 239.9 kB / 1.188 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/1.002, allocations: 325.3 kB / 1.188 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/1.002, allocations: 287.2 kB / 1.188 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.003, allocations: 0 / 1.188 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002713/1.005, allocations: 1.062 MB / 1.19 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/1.006, allocations: 0.794 MB / 1.19 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.006, allocations: 0 / 1.19 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.008, allocations: 485 kB / 1.191 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.008, allocations: 127.8 kB / 1.191 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/1.012, allocations: 3.01 MB / 1.194 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/1.013, allocations: 107.8 kB / 1.194 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/1.013, allocations: 20.06 kB / 1.194 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.013, allocations: 5.406 kB / 1.194 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008339/1.014, allocations: 463.5 kB / 1.194 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.014, allocations: 4 kB / 1.194 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/1.014, allocations: 4 kB / 1.194 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/1.015, allocations: 158.2 kB / 1.195 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/1.015, allocations: 0 / 1.195 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/1.015, allocations: 92.05 kB / 1.195 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/1.015, allocations: 15.98 kB / 1.195 GB, free: 2.559 MB / 0.7917 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 () * 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.0001577/1.015, allocations: 112.9 kB / 1.195 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/1.015, allocations: 39.56 kB / 1.195 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/1.018, allocations: 1.107 MB / 1.196 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.018, allocations: 4 kB / 1.196 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.018, allocations: 0 / 1.196 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.018, allocations: 0 / 1.196 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/1.022, allocations: 1.732 MB / 1.198 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.022, allocations: 0 / 1.198 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/1.023, allocations: 83.89 kB / 1.198 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/1.025, allocations: 0.6142 MB / 1.198 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/1.025, allocations: 0 / 1.198 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/1.03, allocations: 4.219 MB / 1.202 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.03, allocations: 3.938 kB / 1.202 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/1.033, allocations: 1.152 MB / 1.204 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.033, allocations: 168.6 kB / 1.204 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/1.033, allocations: 4 kB / 1.204 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/1.034, allocations: 107.8 kB / 1.204 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.034, allocations: 23.91 kB / 1.204 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/1.034, allocations: 15.98 kB / 1.204 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003366/1.034, allocations: 265.2 kB / 1.204 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/1.034, allocations: 0 / 1.204 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008916/1.035, allocations: 195.9 kB / 1.204 GB, free: 8.359 MB / 0.8073 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 () * 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.000329/1.035, allocations: 147.2 kB / 1.204 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.037, allocations: 0.9708 MB / 1.205 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.037, allocations: 4 kB / 1.205 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/1.038, allocations: 0.554 MB / 1.206 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/1.038, allocations: 113 kB / 1.206 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.04, allocations: 0.7427 MB / 1.207 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/1.04, allocations: 0.9211 MB / 1.208 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007206/1.041, allocations: 215.9 kB / 1.208 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.041, allocations: 31.42 kB / 1.208 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.72e-07/1.041, allocations: 0 / 1.208 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.0157/1.057, allocations: 10.15 MB / 1.218 GB, free: 10.59 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)