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.01179/0.01179, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001763/0.001763, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.756/1.756, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.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.739/1.739, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.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.001471/0.001471, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006829/0.2886, allocations: 4.357 MB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005754/0.2944, allocations: 3.261 MB / 0.8355 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.2948, allocations: 11.94 kB / 0.8355 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.2966, allocations: 0.5057 MB / 0.836 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.298, allocations: 395.4 kB / 0.8364 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.2988, allocations: 247.4 kB / 0.8366 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008798/0.2997, allocations: 0.5879 MB / 0.8372 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.3004, allocations: 0.517 MB / 0.8377 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.301, allocations: 283.1 kB / 0.8379 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.3015, allocations: 271 kB / 0.8382 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.3016, allocations: 40 kB / 0.8382 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.3024, allocations: 299.5 kB / 0.8385 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.3027, allocations: 159.6 kB / 0.8387 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.303, allocations: 230.9 kB / 0.8389 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3042, allocations: 0.7789 MB / 0.8397 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3042, allocations: 0 / 0.8397 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3043, allocations: 0 / 0.8397 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.3043, allocations: 8 kB / 0.8397 GB, free: 4.242 MB / 0.6544 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.001807/0.3061, allocations: 0.7659 MB / 0.8404 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.3062, allocations: 12.03 kB / 0.8404 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.3091, allocations: 0.6556 MB / 0.8411 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.3099, allocations: 447.8 kB / 0.8415 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.31, allocations: 25.02 kB / 0.8415 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.3101, allocations: 36.12 kB / 0.8416 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.312, allocations: 0.7747 MB / 0.8423 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.312, allocations: 4 kB / 0.8423 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.3121, allocations: 12 kB / 0.8423 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.3123, allocations: 44.61 kB / 0.8424 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3143, allocations: 0.8569 MB / 0.8432 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.3187, allocations: 2.8 MB / 0.8459 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3205, allocations: 0.4941 MB / 0.8464 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.3212, allocations: 256.6 kB / 0.8467 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.3214, allocations: 89.09 kB / 0.8467 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3215, allocations: 34.56 kB / 0.8468 GB, free: 12.58 MB / 0.67 GB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.3215, allocations: 0 / 0.8468 GB, free: 12.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.01165/0.3331, allocations: 2.964 MB / 0.8497 GB, free: 9.582 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3332, allocations: 59.41 kB / 0.8497 GB, free: 9.512 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.3338, allocations: 397.6 kB / 0.8501 GB, free: 9.117 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.3339, allocations: 29.7 kB / 0.8501 GB, free: 9.082 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3341, allocations: 239.7 kB / 0.8504 GB, free: 8.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.3342, allocations: 82.89 kB / 0.8504 GB, free: 8.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3344, allocations: 77.53 kB / 0.8505 GB, free: 8.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3346, allocations: 346.8 kB / 0.8509 GB, free: 8.332 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.3355, allocations: 352.4 kB / 0.8512 GB, free: 7.984 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.3365, allocations: 416.4 kB / 0.8516 GB, free: 7.547 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.3384, allocations: 0.7386 MB / 0.8523 GB, free: 6.781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3384, allocations: 0 / 0.8523 GB, free: 6.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005247/0.3437, allocations: 1.464 MB / 0.8537 GB, free: 5.305 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3437, allocations: 4 kB / 0.8537 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3438, allocations: 4 kB / 0.8537 GB, free: 5.297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.3475, allocations: 0.7702 MB / 0.8545 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.3482, allocations: 127.7 kB / 0.8546 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/0.3556, allocations: 4.845 MB / 0.8593 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.3566, allocations: 103.8 kB / 0.8594 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.3567, allocations: 15.98 kB / 0.8595 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.3579, allocations: 0.5193 MB / 0.86 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009988/0.359, allocations: 412.7 kB / 0.8604 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001833/0.3608, allocations: 0.7063 MB / 0.8611 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/0.3608, allocations: 4 kB / 0.8611 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004346/0.3652, allocations: 1.247 MB / 0.8623 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3652, allocations: 4 kB / 0.8623 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3652, allocations: 4 kB / 0.8623 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.3676, allocations: 0.4962 MB / 0.8628 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.3683, allocations: 135.8 kB / 0.8629 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.3721, allocations: 2.597 MB / 0.8654 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.373, allocations: 103.9 kB / 0.8655 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3731, allocations: 15.97 kB / 0.8655 GB, free: 8.699 MB / 0.6856 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.0003596/0.3734, allocations: 208.1 kB / 0.8657 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3736, allocations: 31.62 kB / 0.8658 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/0.3782, allocations: 1.359 MB / 0.8671 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.3782, allocations: 4.141 kB / 0.8671 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3783, allocations: 3.984 kB / 0.8671 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.3783, allocations: 0 / 0.8671 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.3841, allocations: 1.987 MB / 0.8691 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3841, allocations: 0 / 0.8691 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.3845, allocations: 75.89 kB / 0.8691 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/0.388, allocations: 0.7077 MB / 0.8698 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.3881, allocations: 11.92 kB / 0.8698 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00661/0.3947, allocations: 4.679 MB / 0.8744 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3948, allocations: 0 / 0.8744 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.3993, allocations: 1.349 MB / 0.8757 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.3998, allocations: 168.6 kB / 0.8759 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3999, allocations: 8 kB / 0.8759 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.4006, allocations: 83.86 kB / 0.876 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4007, allocations: 23.91 kB / 0.876 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.4008, allocations: 12 kB / 0.876 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004381/0.4012, allocations: 303.1 kB / 0.8763 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4012, allocations: 0 / 0.8763 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00107/0.4023, allocations: 200 kB / 0.8765 GB, free: 13.07 MB / 0.7012 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.0002739/0.4026, allocations: 103.2 kB / 0.8766 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003967/0.4066, allocations: 1.535 MB / 0.8781 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4066, allocations: 0 / 0.8781 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.408, allocations: 0.63 MB / 0.8787 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.409, allocations: 130.9 kB / 0.8788 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.4117, allocations: 1.036 MB / 0.8798 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.4125, allocations: 0.9093 MB / 0.8807 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005777/0.4131, allocations: 151.2 kB / 0.8809 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4132, allocations: 35.42 kB / 0.8809 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of SimCode: time 2.775e-06/0.4132, allocations: 0 / 0.8809 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of Templates: time 0.02277/0.436, allocations: 12.25 MB / 0.8929 GB, free: 12.25 MB / 0.7169 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)