Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.41/2.41, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 179.4 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 100.3 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009608/0.0009613, allocations: 12.03 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2281, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007713/0.2359, allocations: 3.715 MB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007724/0.2437, allocations: 2.941 MB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.2442, allocations: 7.938 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.2452, allocations: 155.3 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.2468, allocations: 291 kB / 0.9058 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.2478, allocations: 179.5 kB / 0.906 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009773/0.2488, allocations: 346.8 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.2509, allocations: 0.7274 MB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.2514, allocations: 163.4 kB / 0.9072 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.2519, allocations: 175.3 kB / 0.9074 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.2521, allocations: 16 kB / 0.9074 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2531, allocations: 235.7 kB / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2534, allocations: 131.6 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2536, allocations: 109.5 kB / 0.9078 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.255, allocations: 0.6547 MB / 0.9085 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.255, allocations: 0 / 0.9085 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.408e-06/0.2551, allocations: 0 / 0.9085 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2551, allocations: 7.938 kB / 0.9085 GB, free: 56.07 MB / 0.6042 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.002089/0.2572, allocations: 0.7129 MB / 0.9092 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2573, allocations: 8.031 kB / 0.9092 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006941/0.2642, allocations: 0.7014 MB / 0.9099 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.2658, allocations: 478.6 kB / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.2659, allocations: 20.66 kB / 0.9103 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.266, allocations: 35.89 kB / 0.9104 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.2695, allocations: 0.7942 MB / 0.9111 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.2696, allocations: 3.984 kB / 0.9111 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.2697, allocations: 12 kB / 0.9112 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002687/0.27, allocations: 52.59 kB / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/0.2747, allocations: 0.8765 MB / 0.9121 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.2823, allocations: 2.851 MB / 0.9148 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.286, allocations: 0.5214 MB / 0.9154 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.2863, allocations: 89.09 kB / 0.9154 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2863, allocations: 34.56 kB / 0.9155 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.487e-06/0.2863, allocations: 3.938 kB / 0.9155 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.02683/0.3132, allocations: 3.201 MB / 0.9186 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3133, allocations: 81.11 kB / 0.9187 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.3142, allocations: 417.6 kB / 0.9191 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.3143, allocations: 29.7 kB / 0.9191 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.3146, allocations: 243.8 kB / 0.9193 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3147, allocations: 82.83 kB / 0.9194 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.3148, allocations: 8 kB / 0.9194 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3149, allocations: 350.7 kB / 0.9198 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.317, allocations: 371.5 kB / 0.9201 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.3191, allocations: 441.2 kB / 0.9205 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.3213, allocations: 380.9 kB / 0.9209 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.3213, allocations: 3.938 kB / 0.9209 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01186/0.3332, allocations: 1.547 MB / 0.9224 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.3334, allocations: 0.7901 MB / 0.9232 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3335, allocations: 4 kB / 0.9232 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009196/0.3427, allocations: 0.8403 MB / 0.924 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.3442, allocations: 139.8 kB / 0.9241 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.3584, allocations: 4.778 MB / 0.9288 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.3602, allocations: 123.9 kB / 0.9289 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.3604, allocations: 15.98 kB / 0.9289 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3604, allocations: 6.344 kB / 0.929 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009902/0.3703, allocations: 1.259 MB / 0.9302 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3704, allocations: 4 kB / 0.9302 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006091/0.3765, allocations: 0.5587 MB / 0.9307 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.3781, allocations: 143.8 kB / 0.9309 GB, free: 32.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/0.3856, allocations: 2.569 MB / 0.9334 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.3874, allocations: 107.8 kB / 0.9335 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.3875, allocations: 15.98 kB / 0.9335 GB, free: 29.46 MB / 0.6042 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.0006429/0.3882, allocations: 325 kB / 0.9338 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3884, allocations: 39.52 kB / 0.9338 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.3992, allocations: 1.419 MB / 0.9352 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.3993, allocations: 4 kB / 0.9352 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3993, allocations: 3.984 kB / 0.9352 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3993, allocations: 0 / 0.9352 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.4118, allocations: 2.098 MB / 0.9373 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4118, allocations: 0 / 0.9373 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009437/0.4128, allocations: 88 kB / 0.9374 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008248/0.421, allocations: 0.7856 MB / 0.9381 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4212, allocations: 11.95 kB / 0.9381 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.4336, allocations: 4.602 MB / 0.9426 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4336, allocations: 3.938 kB / 0.9426 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.4442, allocations: 1.478 MB / 0.9441 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.4448, allocations: 172.7 kB / 0.9443 GB, free: 18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.4449, allocations: 4 kB / 0.9443 GB, free: 18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.4464, allocations: 95.84 kB / 0.9443 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.4468, allocations: 31.86 kB / 0.9444 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.4468, allocations: 15.98 kB / 0.9444 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007238/0.4476, allocations: 307.1 kB / 0.9447 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/0.4476, allocations: 0 / 0.9447 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001828/0.4495, allocations: 204 kB / 0.9449 GB, free: 17.36 MB / 0.6042 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.0003268/0.4498, allocations: 117 kB / 0.945 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00813/0.458, allocations: 1.625 MB / 0.9466 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.4581, allocations: 3.938 kB / 0.9466 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.4609, allocations: 0.6761 MB / 0.9472 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.4622, allocations: 113.3 kB / 0.9474 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.4659, allocations: 1.205 MB / 0.9485 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.4666, allocations: 0.9288 MB / 0.9494 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001295/0.4679, allocations: 155.2 kB / 0.9496 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.4682, allocations: 31.42 kB / 0.9496 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.392e-06/0.4683, allocations: 0 / 0.9496 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.03595/0.5042, allocations: 11.93 MB / 0.9613 GB, free: 0.4961 MB / 0.6042 GB