Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.909/4.909, allocations: 0.5623 GB / 0.5769 GB, free: 3.262 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.002396/0.002396, allocations: 359.9 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.168/4.168, allocations: 410.7 MB / 1.112 GB, free: 6.02 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.001767/0.001767, allocations: 180.5 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 12 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6154, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005737/0.6212, allocations: 2.655 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.6263, allocations: 1.83 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.6266, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.6268, allocations: 31.72 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.6275, allocations: 146.5 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.6285, allocations: 169.2 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.6291, allocations: 370.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009323/0.6301, allocations: 308.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.6303, allocations: 104.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.6307, allocations: 140.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.6308, allocations: 11.94 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.6317, allocations: 252.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.6318, allocations: 76.44 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.6319, allocations: 66.83 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.6326, allocations: 363.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.418e-06/0.6326, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.61e-06/0.6327, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.119e-06/0.6327, allocations: 0.75 kB / 1.467 GB, free: 277.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001083/0.6338, allocations: 0.5118 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6339, allocations: 16.19 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.6358, allocations: 132.5 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.6363, allocations: 251.6 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.6364, allocations: 12.44 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.6365, allocations: 19.98 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.6375, allocations: 351.4 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.6375, allocations: 0.75 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.6376, allocations: 12 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.131e-05/0.6377, allocations: 22.66 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.6387, allocations: 297.5 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.6425, allocations: 1.745 MB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.6434, allocations: 321.8 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.6437, allocations: 98.64 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.6439, allocations: 93.59 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.644, allocations: 35.69 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 4.715e-06/0.644, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.005007/0.649, allocations: 0.9798 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6491, allocations: 77.3 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.6495, allocations: 213.8 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.6496, allocations: 32.33 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.6497, allocations: 168.1 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.6498, allocations: 78.89 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.6499, allocations: 4 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.65, allocations: 334.8 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.6504, allocations: 128.5 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.6509, allocations: 219.5 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.6515, allocations: 161.1 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.6515, allocations: 0.875 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001945/0.6535, allocations: 0.5078 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6535, allocations: 7.953 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6535, allocations: 4.094 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.6546, allocations: 150 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.6552, allocations: 64.44 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.6596, allocations: 3.961 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.6601, allocations: 24.61 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.6602, allocations: 8 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.6606, allocations: 168.2 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6607, allocations: 15.81 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.6625, allocations: 472.6 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6626, allocations: 8.719 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.39e-06/0.6626, allocations: 0 / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6626, allocations: 8.703 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.6658, allocations: 1.005 MB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6659, allocations: 4 kB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.6661, allocations: 32.62 kB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005842/0.6668, allocations: 145.9 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.6668, allocations: 12 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.6694, allocations: 3.945 MB / 1.483 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.969e-06/0.6694, allocations: 4.031 kB / 1.483 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.6704, allocations: 0.6234 MB / 1.484 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.6706, allocations: 136.7 kB / 1.484 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.6707, allocations: 11.98 kB / 1.484 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.671, allocations: 16.77 kB / 1.484 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.6711, allocations: 35.28 kB / 1.484 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.6711, allocations: 8 kB / 1.484 GB, free: 259 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001567/0.6713, allocations: 155.2 kB / 1.484 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.56e-07/0.6713, allocations: 0 / 1.484 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006554/0.672, allocations: 87.98 kB / 1.484 GB, free: 258.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.6722, allocations: 129.9 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000998/0.6732, allocations: 0.5693 MB / 1.485 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6732, allocations: 2.562 kB / 1.485 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.6738, allocations: 402 kB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.6745, allocations: 36.53 kB / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.6756, allocations: 0.733 MB / 1.486 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.6759, allocations: 0.7816 MB / 1.487 GB, free: 256 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.6761, allocations: 65.06 kB / 1.487 GB, free: 256 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.6762, allocations: 27.42 kB / 1.487 GB, free: 256 MB / 0.8542 GB Notification: Performance of SimCode: time 1.416e-06/0.6762, allocations: 0 / 1.487 GB, free: 256 MB / 0.8542 GB Notification: Performance of Templates: time 0.009324/0.6855, allocations: 3.875 MB / 1.491 GB, free: 252.3 MB / 0.8542 GB