Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.748/5.748, allocations: 0.5623 GB / 0.5776 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002455/0.002455, allocations: 362.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.371/4.371, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001889/0.001887, allocations: 179.6 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004905, allocations: 16.5 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2357, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005859/0.2416, allocations: 3.839 MB / 1.465 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006475/0.2481, allocations: 2.995 MB / 1.468 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.2486, allocations: 11.94 kB / 1.468 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2494, allocations: 151 kB / 1.468 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.2508, allocations: 308.8 kB / 1.468 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.2516, allocations: 179.5 kB / 1.469 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.2529, allocations: 0.6501 MB / 1.469 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.2548, allocations: 0.7236 MB / 1.47 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.2553, allocations: 183.2 kB / 1.47 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.2559, allocations: 251 kB / 1.47 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.256, allocations: 16 kB / 1.47 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.2569, allocations: 227.6 kB / 1.471 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.2571, allocations: 139.6 kB / 1.471 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.2573, allocations: 101.5 kB / 1.471 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2584, allocations: 0.6666 MB / 1.472 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2584, allocations: 0 / 1.472 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2584, allocations: 4 kB / 1.472 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.2585, allocations: 0 / 1.472 GB, free: 12.09 MB / 0.6198 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.001878/0.2604, allocations: 0.7127 MB / 1.472 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.2604, allocations: 8.031 kB / 1.472 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005337/0.2658, allocations: 0.7015 MB / 1.473 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2672, allocations: 482.5 kB / 1.473 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.2672, allocations: 24.66 kB / 1.473 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.2674, allocations: 24 kB / 1.473 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.2701, allocations: 0.7903 MB / 1.474 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.2702, allocations: 4 kB / 1.474 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.2703, allocations: 12 kB / 1.474 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.2705, allocations: 56.58 kB / 1.474 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.2743, allocations: 0.8765 MB / 1.475 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00655/0.2809, allocations: 2.863 MB / 1.478 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.2841, allocations: 0.5137 MB / 1.478 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.2855, allocations: 264.9 kB / 1.479 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.2857, allocations: 101 kB / 1.479 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.2857, allocations: 34.56 kB / 1.479 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.706e-06/0.2857, allocations: 0 / 1.479 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.02204/0.3078, allocations: 3.209 MB / 1.482 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.3079, allocations: 89.09 kB / 1.482 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.3087, allocations: 413.6 kB / 1.482 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.3088, allocations: 29.7 kB / 1.482 GB, free: 484 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3091, allocations: 235.8 kB / 1.483 GB, free: 244 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.3092, allocations: 82.75 kB / 1.483 GB, free: 160 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3093, allocations: 8 kB / 1.483 GB, free: 152 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3095, allocations: 350.8 kB / 1.483 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.3112, allocations: 363.5 kB / 1.483 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.313, allocations: 449.3 kB / 1.484 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.3147, allocations: 384.9 kB / 1.484 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3148, allocations: 4 kB / 1.484 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009732/0.3245, allocations: 1.539 MB / 1.486 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.3247, allocations: 152 kB / 1.486 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3247, allocations: 4 kB / 1.486 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007447/0.3322, allocations: 0.8441 MB / 1.487 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3334, allocations: 135.8 kB / 1.487 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.3452, allocations: 4.67 MB / 1.491 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3467, allocations: 123.9 kB / 1.492 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.3468, allocations: 15.98 kB / 1.492 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3468, allocations: 4 kB / 1.492 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008083/0.3549, allocations: 1.255 MB / 1.493 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.355, allocations: 4 kB / 1.493 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/0.3599, allocations: 0.5626 MB / 1.493 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.3612, allocations: 143.8 kB / 1.493 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.3675, allocations: 2.502 MB / 1.496 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3689, allocations: 115.8 kB / 1.496 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.369, allocations: 12 kB / 1.496 GB, free: 2.059 MB / 0.6355 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.0005605/0.3695, allocations: 321 kB / 1.496 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3697, allocations: 39.58 kB / 1.496 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00876/0.3784, allocations: 1.421 MB / 1.498 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.3785, allocations: 0 / 1.498 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3785, allocations: 0 / 1.498 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.379, allocations: 172.7 kB / 1.498 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3791, allocations: 144 / 1.498 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.3803, allocations: 99.91 kB / 1.498 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.3805, allocations: 35.81 kB / 1.498 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006626/0.3871, allocations: 1.25 MB / 1.499 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004335/0.3915, allocations: 1.174 MB / 1.5 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001365/0.3929, allocations: 342.7 kB / 1.501 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006498/0.3936, allocations: 311.1 kB / 1.501 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Backend: time 8.11e-07/0.3936, allocations: 0 / 1.501 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006246/0.3999, allocations: 1.515 MB / 1.503 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of SimCode: time 0.003083/0.403, allocations: 1.574 MB / 1.504 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of Templates: time 0.03767/0.4407, allocations: 14.58 MB / 1.518 GB, free: 11.18 MB / 0.6667 GB