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.062/5.062, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002423/0.002423, allocations: 356.6 kB / 0.644 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.451/4.451, allocations: 410.7 MB / 1.112 GB, free: 5.926 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.001773/0.001773, allocations: 184.2 kB / 1.225 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007841/0.0007847, allocations: 12 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6499, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003682/0.6537, allocations: 3.261 MB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.6564, allocations: 1.713 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.6567, allocations: 15.88 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.6569, allocations: 44.81 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.6575, allocations: 242.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.6581, allocations: 189.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.6586, allocations: 0.6399 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.6593, allocations: 324.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.6596, allocations: 196.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.6599, allocations: 212.6 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.6599, allocations: 12 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.6603, allocations: 133 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.6604, allocations: 103.7 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.6605, allocations: 97.45 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.6609, allocations: 437.6 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.297e-06/0.661, allocations: 0 / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.923e-06/0.661, allocations: 4.734 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.675e-06/0.661, allocations: 3.938 kB / 1.468 GB, free: 276.7 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.0009811/0.662, allocations: 0.6733 MB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.662, allocations: 11.62 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6631, allocations: 144.3 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.6637, allocations: 362.5 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6637, allocations: 25.2 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.6638, allocations: 29.06 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.6646, allocations: 0.5522 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6647, allocations: 7.938 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.6647, allocations: 13.22 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.6648, allocations: 40.53 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.6656, allocations: 424.1 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.6683, allocations: 3.332 MB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.6691, allocations: 336 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.6694, allocations: 183 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.6695, allocations: 4 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.6695, allocations: 32.44 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 3.297e-06/0.6695, allocations: 4 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.002248/0.6718, allocations: 1.079 MB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6718, allocations: 63.58 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.6722, allocations: 338 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6722, allocations: 29.7 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6724, allocations: 249 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.6724, allocations: 94.59 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.6725, allocations: 8 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.6726, allocations: 347.9 kB / 1.476 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.6729, allocations: 149.8 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.6733, allocations: 300.9 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.6737, allocations: 202.3 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.6737, allocations: 0.5625 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001175/0.6749, allocations: 0.5753 MB / 1.477 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6749, allocations: 4 kB / 1.477 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6749, allocations: 8.75 kB / 1.477 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.6753, allocations: 85.11 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.6758, allocations: 87.88 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.6758, allocations: 11.94 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.6762, allocations: 36.91 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.6762, allocations: 16.53 kB / 1.478 GB, free: 266.4 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.0002129/0.6764, allocations: 183.1 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.6765, allocations: 36.34 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/0.6775, allocations: 479.2 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-06/0.6776, allocations: 7.953 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.998e-06/0.6776, allocations: 1.375 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.379e-06/0.6776, allocations: 3.984 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.6793, allocations: 0.963 MB / 1.479 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.79e-06/0.6793, allocations: 4.672 kB / 1.479 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.6796, allocations: 52.56 kB / 1.479 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.68, allocations: 86.53 kB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.68, allocations: 8 kB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-06/0.68, allocations: 0 / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-06/0.68, allocations: 0 / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.681, allocations: 0.5544 MB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.6812, allocations: 145.7 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.6812, allocations: 10.75 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.6816, allocations: 23.97 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.6816, allocations: 19.97 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.6817, allocations: 8 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00024/0.6819, allocations: 237.1 kB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.67e-07/0.6819, allocations: 0 / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005556/0.6825, allocations: 84 kB / 1.481 GB, free: 263.4 MB / 0.8542 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 (25): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001146/0.6826, allocations: 108.2 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009678/0.6836, allocations: 0.6464 MB / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.52e-06/0.6836, allocations: 0.7812 kB / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.6841, allocations: 435.4 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008395/0.685, allocations: 122.7 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6862, allocations: 0.8656 MB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.6865, allocations: 0.8323 MB / 1.483 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.6869, allocations: 81.78 kB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.687, allocations: 28.69 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.695e-06/0.687, allocations: 0 / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01075/0.6977, allocations: 4.318 MB / 1.488 GB, free: 256.1 MB / 0.8542 GB