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.0107/0.01071, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.002034/0.002035, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.854/1.854, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001478/0.001478, allocations: 67.89 kB / 0.7258 GB, free: 9.188 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3018, allocations: 104.7 MB / 0.828 GB, free: 384 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006851/0.3087, allocations: 4.363 MB / 0.8323 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005256/0.314, allocations: 3.261 MB / 0.8355 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.3143, allocations: 15.94 kB / 0.8355 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.3158, allocations: 0.5096 MB / 0.836 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.3167, allocations: 384.8 kB / 0.8364 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3174, allocations: 250.9 kB / 0.8366 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.3184, allocations: 0.5956 MB / 0.8372 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.3192, allocations: 0.5092 MB / 0.8377 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.3199, allocations: 295 kB / 0.838 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.3204, allocations: 279 kB / 0.8382 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.3205, allocations: 40 kB / 0.8383 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.321, allocations: 287.5 kB / 0.8385 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3212, allocations: 163.6 kB / 0.8387 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.3215, allocations: 238.9 kB / 0.8389 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008999/0.3224, allocations: 0.7751 MB / 0.8397 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3224, allocations: 4 kB / 0.8397 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3224, allocations: 0 / 0.8397 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3224, allocations: 0 / 0.8397 GB, free: 4.402 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.001487/0.3239, allocations: 0.7752 MB / 0.8404 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.324, allocations: 8.031 kB / 0.8405 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.3265, allocations: 0.6556 MB / 0.8411 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.3272, allocations: 455.8 kB / 0.8415 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.3272, allocations: 25.03 kB / 0.8415 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.3273, allocations: 32.12 kB / 0.8416 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3287, allocations: 0.7786 MB / 0.8423 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3287, allocations: 0 / 0.8423 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.3288, allocations: 12 kB / 0.8424 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.3289, allocations: 40.61 kB / 0.8424 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.3308, allocations: 0.8569 MB / 0.8432 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.3344, allocations: 2.796 MB / 0.846 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3359, allocations: 0.498 MB / 0.8464 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.3365, allocations: 252.6 kB / 0.8467 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3366, allocations: 97.06 kB / 0.8468 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3366, allocations: 30.56 kB / 0.8468 GB, free: 12.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=16): time 2.063e-06/0.3367, allocations: 4 kB / 0.8468 GB, free: 12.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.01041/0.3471, allocations: 2.955 MB / 0.8497 GB, free: 9.738 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3471, allocations: 55.41 kB / 0.8497 GB, free: 9.672 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.3477, allocations: 405.6 kB / 0.8501 GB, free: 9.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.3477, allocations: 29.7 kB / 0.8502 GB, free: 9.234 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3479, allocations: 243.7 kB / 0.8504 GB, free: 8.992 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.348, allocations: 78.91 kB / 0.8505 GB, free: 8.914 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3481, allocations: 69.59 kB / 0.8505 GB, free: 8.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3483, allocations: 346.8 kB / 0.8509 GB, free: 8.492 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.3491, allocations: 352.4 kB / 0.8512 GB, free: 8.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008039/0.3499, allocations: 416.4 kB / 0.8516 GB, free: 7.707 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.3515, allocations: 0.7347 MB / 0.8523 GB, free: 6.945 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3515, allocations: 3.938 kB / 0.8523 GB, free: 6.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004638/0.3562, allocations: 1.464 MB / 0.8538 GB, free: 5.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3562, allocations: 8 kB / 0.8538 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3562, allocations: 0 / 0.8538 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.3597, allocations: 0.7702 MB / 0.8545 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.3602, allocations: 123.8 kB / 0.8546 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.3674, allocations: 4.843 MB / 0.8594 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.3682, allocations: 111.9 kB / 0.8595 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.3683, allocations: 15.98 kB / 0.8595 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.3695, allocations: 0.5154 MB / 0.86 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008508/0.3703, allocations: 404.7 kB / 0.8604 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001641/0.372, allocations: 0.718 MB / 0.8611 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/0.372, allocations: 7.984 kB / 0.8611 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003921/0.3759, allocations: 1.243 MB / 0.8623 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.376, allocations: 8 kB / 0.8623 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.376, allocations: 0 / 0.8623 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.3781, allocations: 0.5003 MB / 0.8628 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.3787, allocations: 131.8 kB / 0.8629 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.3824, allocations: 2.597 MB / 0.8655 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.3831, allocations: 107.9 kB / 0.8656 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.3832, allocations: 15.98 kB / 0.8656 GB, free: 8.852 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.0002229/0.3834, allocations: 206.6 kB / 0.8658 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3835, allocations: 31.62 kB / 0.8658 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/0.3878, allocations: 1.346 MB / 0.8671 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.3878, allocations: 4 kB / 0.8671 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3878, allocations: 0 / 0.8671 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3878, allocations: 0 / 0.8671 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.3929, allocations: 1.989 MB / 0.8691 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3929, allocations: 0 / 0.8691 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.3933, allocations: 83.98 kB / 0.8691 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.3964, allocations: 0.6999 MB / 0.8698 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.3965, allocations: 11.92 kB / 0.8698 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/0.4032, allocations: 4.682 MB / 0.8744 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4032, allocations: 0 / 0.8744 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.4075, allocations: 1.356 MB / 0.8757 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.4078, allocations: 168.6 kB / 0.8759 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.4079, allocations: 3.984 kB / 0.8759 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.4085, allocations: 87.86 kB / 0.876 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4086, allocations: 28.09 kB / 0.876 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.4087, allocations: 8 kB / 0.876 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004227/0.4091, allocations: 303.1 kB / 0.8763 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4091, allocations: 3.938 kB / 0.8763 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000953/0.4101, allocations: 196 kB / 0.8765 GB, free: 13.24 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.000232/0.4103, allocations: 111.2 kB / 0.8766 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003676/0.414, allocations: 1.527 MB / 0.8781 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.414, allocations: 0 / 0.8781 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4153, allocations: 0.6328 MB / 0.8787 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.416, allocations: 123.2 kB / 0.8788 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4184, allocations: 1.04 MB / 0.8798 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.4192, allocations: 0.9171 MB / 0.8807 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005202/0.4197, allocations: 151.2 kB / 0.8809 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4198, allocations: 31.42 kB / 0.8809 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.4198, allocations: 4 kB / 0.8809 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of Templates: time 0.02478/0.4446, allocations: 12.24 MB / 0.8929 GB, free: 12.41 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)