Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.604/5.604, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002911/0.002911, allocations: 356 kB / 0.6447 GB, free: 185.7 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.316/4.316, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 196 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005339, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7536, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004827/0.7585, allocations: 3.262 MB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.7621, allocations: 1.716 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.7625, allocations: 11.88 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.7628, allocations: 43.62 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009474/0.7637, allocations: 244 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.7645, allocations: 183.9 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000737/0.7652, allocations: 0.636 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.766, allocations: 331.9 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.7664, allocations: 193.4 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.7667, allocations: 216.8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.7668, allocations: 12 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.7672, allocations: 135.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.7674, allocations: 96.27 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.617e-05/0.7675, allocations: 108.3 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.7681, allocations: 433 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.7681, allocations: 4 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7681, allocations: 3.938 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7681, allocations: 0 / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001338/0.7695, allocations: 0.6688 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.7696, allocations: 11.62 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.771, allocations: 143.2 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.7718, allocations: 371.9 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.7719, allocations: 20.66 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.772, allocations: 27.98 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7731, allocations: 0.5515 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.7731, allocations: 7.938 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.7732, allocations: 16.55 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.995e-05/0.7733, allocations: 41.25 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.7744, allocations: 424.2 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.7779, allocations: 3.337 MB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.7789, allocations: 330.9 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.7794, allocations: 175.2 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.7794, allocations: 4 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.7795, allocations: 43.55 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/0.7795, allocations: 0.9688 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.003076/0.7826, allocations: 1.078 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.7826, allocations: 57.58 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.7831, allocations: 341.5 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.7831, allocations: 29.7 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.7833, allocations: 243.6 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.7833, allocations: 99.08 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.7834, allocations: 4.969 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.7835, allocations: 346.8 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.7839, allocations: 158.2 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.7844, allocations: 296.1 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.785, allocations: 195.4 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.785, allocations: 3.938 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001515/0.7865, allocations: 0.5717 MB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.7866, allocations: 7.984 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7866, allocations: 14.25 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.7871, allocations: 82.52 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.7878, allocations: 93.12 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.7878, allocations: 11.94 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.7883, allocations: 33.56 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.7884, allocations: 20 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.7886, allocations: 178.6 kB / 1.478 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.7887, allocations: 36.25 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7901, allocations: 474.9 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.7901, allocations: 7.484 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7901, allocations: 4 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.7903, allocations: 142.6 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.7904, allocations: 8 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.7908, allocations: 23.97 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.7909, allocations: 15.97 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001736/0.7926, allocations: 0.5366 MB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001447/0.7941, allocations: 0.7082 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004046/0.7946, allocations: 157.7 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002888/0.7949, allocations: 231.8 kB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of Backend: time 5.01e-07/0.7949, allocations: 0 / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.7964, allocations: 0.658 MB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001943/0.7984, allocations: 1.347 MB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01585/0.8143, allocations: 5.968 MB / 1.489 GB, free: 256.1 MB / 0.8542 GB