Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00787/0.00787, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 196.1 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 75.91 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8277, allocations: 104.7 MB / 0.828 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005983/0.8337, allocations: 4.361 MB / 0.8323 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004811/0.8386, allocations: 3.257 MB / 0.8355 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.8389, allocations: 11.94 kB / 0.8355 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.8405, allocations: 0.5034 MB / 0.836 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0009737/0.8415, allocations: 393.9 kB / 0.8363 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.8421, allocations: 259 kB / 0.8366 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.8428, allocations: 0.5956 MB / 0.8372 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006781/0.8435, allocations: 0.5205 MB / 0.8377 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.844, allocations: 283.2 kB / 0.838 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.8444, allocations: 279 kB / 0.8382 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.8445, allocations: 36 kB / 0.8383 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.845, allocations: 295.5 kB / 0.8385 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.8451, allocations: 167.5 kB / 0.8387 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.8454, allocations: 230.9 kB / 0.8389 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.8463, allocations: 0.7774 MB / 0.8397 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8463, allocations: 0 / 0.8397 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8463, allocations: 0 / 0.8397 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8463, allocations: 0 / 0.8397 GB, free: 6.668 MB / 0.6387 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.001338/0.8476, allocations: 0.7713 MB / 0.8404 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8477, allocations: 8.031 kB / 0.8404 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.8505, allocations: 0.6555 MB / 0.8411 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.8512, allocations: 451.8 kB / 0.8415 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.8512, allocations: 25.03 kB / 0.8415 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.8513, allocations: 36.03 kB / 0.8416 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.8529, allocations: 0.7747 MB / 0.8423 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.853, allocations: 0 / 0.8423 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.853, allocations: 12 kB / 0.8423 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.8531, allocations: 48.55 kB / 0.8424 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.8553, allocations: 0.857 MB / 0.8432 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.8593, allocations: 2.796 MB / 0.8459 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.861, allocations: 0.5011 MB / 0.8464 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.8618, allocations: 248.6 kB / 0.8467 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.8619, allocations: 93.09 kB / 0.8468 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8619, allocations: 34.56 kB / 0.8468 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.8619, allocations: 0 / 0.8468 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.01189/0.8738, allocations: 2.973 MB / 0.8497 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.8739, allocations: 55.34 kB / 0.8497 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.8745, allocations: 401.6 kB / 0.8501 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.8746, allocations: 29.7 kB / 0.8502 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.8748, allocations: 239.8 kB / 0.8504 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.8749, allocations: 82.83 kB / 0.8505 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.875, allocations: 73.59 kB / 0.8505 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8752, allocations: 350.7 kB / 0.8509 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.8761, allocations: 352.4 kB / 0.8512 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/0.8771, allocations: 417.3 kB / 0.8516 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.8789, allocations: 0.7409 MB / 0.8523 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8789, allocations: 0 / 0.8523 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005247/0.8842, allocations: 1.457 MB / 0.8538 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.8842, allocations: 12.19 kB / 0.8538 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8843, allocations: 3.984 kB / 0.8538 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.8879, allocations: 0.774 MB / 0.8545 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.8886, allocations: 123.8 kB / 0.8546 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/0.8958, allocations: 4.838 MB / 0.8594 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.8967, allocations: 99.83 kB / 0.8595 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.8968, allocations: 19.98 kB / 0.8595 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/0.898, allocations: 0.5193 MB / 0.86 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009261/0.899, allocations: 404.7 kB / 0.8604 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001786/0.9008, allocations: 0.7141 MB / 0.8611 GB, free: 15.87 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.9008, allocations: 0 / 0.8611 GB, free: 15.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004344/0.9051, allocations: 1.243 MB / 0.8623 GB, free: 14.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9052, allocations: 8 kB / 0.8623 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9052, allocations: 192 / 0.8623 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.9075, allocations: 0.4962 MB / 0.8628 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.9082, allocations: 135.8 kB / 0.8629 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.9122, allocations: 2.612 MB / 0.8655 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.913, allocations: 103.9 kB / 0.8656 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.9131, allocations: 19.98 kB / 0.8656 GB, free: 11.1 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.9133, allocations: 204.4 kB / 0.8658 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.9135, allocations: 35.53 kB / 0.8658 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.9182, allocations: 1.341 MB / 0.8671 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.9182, allocations: 4 kB / 0.8671 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9182, allocations: 0 / 0.8671 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9182, allocations: 0 / 0.8671 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/0.9237, allocations: 1.993 MB / 0.8691 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9237, allocations: 0 / 0.8691 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.9242, allocations: 75.89 kB / 0.8691 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/0.9273, allocations: 0.7077 MB / 0.8698 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.9274, allocations: 19.92 kB / 0.8698 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.9334, allocations: 4.659 MB / 0.8744 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.9334, allocations: 4.062 kB / 0.8744 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.9378, allocations: 1.355 MB / 0.8757 GB, free: 304 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.9381, allocations: 164.7 kB / 0.8759 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.9383, allocations: 8 kB / 0.8759 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.9389, allocations: 83.84 kB / 0.876 GB, free: 28 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.9391, allocations: 27.91 kB / 0.876 GB, free: 0 / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.9391, allocations: 4.047 kB / 0.876 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004152/0.9395, allocations: 299.1 kB / 0.8763 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9396, allocations: 4 kB / 0.8763 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009336/0.9405, allocations: 204 kB / 0.8765 GB, free: 15.5 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.9407, allocations: 107.2 kB / 0.8766 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004168/0.9449, allocations: 1.531 MB / 0.8781 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.9449, allocations: 4.625 kB / 0.8781 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.9463, allocations: 0.6299 MB / 0.8787 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.9471, allocations: 126.9 kB / 0.8788 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.9497, allocations: 1.049 MB / 0.8798 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.9505, allocations: 0.9093 MB / 0.8807 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005598/0.951, allocations: 151.2 kB / 0.8809 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.9512, allocations: 35.42 kB / 0.8809 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of SimCode: time 1.403e-06/0.9512, allocations: 0 / 0.8809 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Templates: time 0.02169/0.9729, allocations: 12.24 MB / 0.8929 GB, free: 14.67 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)