Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.304/5.304, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 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.002466/0.002465, allocations: 358.7 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.447/4.447, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.002635/0.002635, allocations: 182.6 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005208, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.735, 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.TestImpedance): time 0.006019/0.7411, allocations: 4.259 MB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.7461, allocations: 2.329 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.7468, allocations: 21.22 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.747, allocations: 67.34 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.7485, allocations: 367.1 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.7497, allocations: 275 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.7512, allocations: 0.9679 MB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.7523, allocations: 428.3 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.7529, allocations: 274.7 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.7535, allocations: 324.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.7536, allocations: 20 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.7542, allocations: 204 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.7545, allocations: 153.2 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.7546, allocations: 141.3 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.7555, allocations: 0.641 MB / 1.472 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7556, allocations: 0 / 1.472 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7556, allocations: 0.5 kB / 1.472 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.7556, allocations: 0 / 1.472 GB, free: 273.9 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001668/0.7573, allocations: 0.8282 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.7573, allocations: 12.16 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.7594, allocations: 215.8 kB / 1.473 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.7605, allocations: 478 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.7606, allocations: 36.98 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.7607, allocations: 49.69 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.7622, allocations: 0.8451 MB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.7622, allocations: 7.938 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.7623, allocations: 20 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.7625, allocations: 65.64 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.7637, allocations: 0.5708 MB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/0.7691, allocations: 5.641 MB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.7701, allocations: 449.7 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.7706, allocations: 232.2 kB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.7707, allocations: 4.656 kB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7707, allocations: 42.5 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 3.136e-06/0.7707, allocations: 0 / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.003848/0.7746, allocations: 1.501 MB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.7747, allocations: 52.16 kB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.7754, allocations: 0.4949 MB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.7754, allocations: 30.55 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.7757, allocations: 356 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.7758, allocations: 118.4 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7758, allocations: 12 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.776, allocations: 366.4 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.7764, allocations: 197.2 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.777, allocations: 439.8 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.7775, allocations: 260.4 kB / 1.484 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7776, allocations: 4 kB / 1.484 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001937/0.7795, allocations: 0.8036 MB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.7796, allocations: 8.688 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.7796, allocations: 12 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/0.7804, allocations: 155.9 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/0.7813, allocations: 123.8 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.7849, allocations: 4.035 MB / 1.489 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.7857, allocations: 31.97 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.7858, allocations: 28.5 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.7862, allocations: 217.6 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.7863, allocations: 63.25 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.7879, allocations: 0.6059 MB / 1.49 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7879, allocations: 0 / 1.49 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7879, allocations: 3.953 kB / 1.49 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.7883, allocations: 173 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7884, allocations: 5.156 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.7888, allocations: 19.97 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.7889, allocations: 23.97 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002097/0.7911, allocations: 0.6749 MB / 1.491 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001406/0.7925, allocations: 0.8161 MB / 1.492 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003727/0.7929, allocations: 183.5 kB / 1.492 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004541/0.7934, allocations: 336.2 kB / 1.493 GB, free: 251 MB / 0.8542 GB Notification: Performance of Backend: time 5.21e-07/0.7934, allocations: 0 / 1.493 GB, free: 251 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.7958, allocations: 1.041 MB / 1.494 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003868/0.7997, allocations: 1.738 MB / 1.495 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.03741/0.8372, allocations: 9.075 MB / 1.504 GB, free: 239.4 MB / 0.8542 GB