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 4.998/4.998, allocations: 0.5623 GB / 0.5769 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.002389/0.002389, allocations: 364.7 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.131/4.131, allocations: 410.7 MB / 1.112 GB, free: 5.879 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.001777/0.001778, allocations: 191 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005099, allocations: 12 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5838, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004383/0.5882, allocations: 3.839 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.5927, allocations: 3.008 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.593, allocations: 7.938 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.5936, allocations: 150.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.5945, allocations: 308.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.5952, allocations: 164.8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.5959, allocations: 0.6546 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.5974, allocations: 0.7353 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.5977, allocations: 180.2 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.5981, allocations: 232.5 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.5982, allocations: 20 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.5988, allocations: 238.4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.599, allocations: 135.6 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.5991, allocations: 105.5 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.5998, allocations: 0.6645 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.889e-06/0.5998, allocations: 4 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.129e-06/0.5999, allocations: 0 / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.5999, allocations: 0 / 1.471 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001202/0.6011, allocations: 0.7219 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6012, allocations: 11.62 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.6044, allocations: 0.6989 MB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.6054, allocations: 475.8 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.6054, allocations: 25.59 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.6055, allocations: 31.98 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.6072, allocations: 0.792 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.6072, allocations: 0 / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.6073, allocations: 17.05 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.6075, allocations: 48.59 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.6097, allocations: 0.8774 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.6139, allocations: 2.851 MB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.6158, allocations: 0.5339 MB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.6166, allocations: 258.5 kB / 1.478 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.6167, allocations: 95.39 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6168, allocations: 34.56 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.214e-06/0.6168, allocations: 1.094 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.01266/0.6295, allocations: 3.213 MB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.6296, allocations: 81.11 kB / 1.481 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.6301, allocations: 419.4 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.6302, allocations: 29.7 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.6304, allocations: 231.9 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.6305, allocations: 86.73 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.6305, allocations: 4.594 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.6306, allocations: 355.4 kB / 1.482 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.6316, allocations: 367.6 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.6327, allocations: 442 kB / 1.483 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.6338, allocations: 390.2 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.081e-06/0.6338, allocations: 0.5312 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005581/0.6394, allocations: 1.542 MB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.6395, allocations: 143.2 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.175e-06/0.6395, allocations: 0 / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/0.6438, allocations: 0.8561 MB / 1.486 GB, free: 258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.6446, allocations: 127.8 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.6561, allocations: 4.656 MB / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6577, allocations: 125.2 kB / 1.491 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.6579, allocations: 17.5 kB / 1.491 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6579, allocations: 4 kB / 1.491 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008632/0.6665, allocations: 1.259 MB / 1.492 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.6666, allocations: 8.609 kB / 1.492 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.672, allocations: 0.5522 MB / 1.493 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6735, allocations: 147.7 kB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/0.6805, allocations: 2.504 MB / 1.495 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.6821, allocations: 114.3 kB / 1.495 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/0.6823, allocations: 12 kB / 1.495 GB, free: 248.1 MB / 0.8542 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.0006422/0.6829, allocations: 325.5 kB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.6831, allocations: 36.14 kB / 1.496 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009655/0.6928, allocations: 1.432 MB / 1.497 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.6929, allocations: 0 / 1.497 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6929, allocations: 5 kB / 1.497 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.693, allocations: 0 / 1.497 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.7043, allocations: 2.096 MB / 1.499 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.7044, allocations: 0 / 1.499 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/0.7053, allocations: 85.2 kB / 1.499 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007358/0.7127, allocations: 0.7941 MB / 1.5 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7129, allocations: 4 kB / 1.5 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.7243, allocations: 4.484 MB / 1.504 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-06/0.7243, allocations: 4 kB / 1.504 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008269/0.7326, allocations: 1.433 MB / 1.506 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.733, allocations: 176.6 kB / 1.506 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.7331, allocations: 3.984 kB / 1.506 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.7339, allocations: 95.84 kB / 1.506 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.734, allocations: 31.86 kB / 1.506 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.7341, allocations: 12 kB / 1.506 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004001/0.7345, allocations: 311.1 kB / 1.506 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.28e-07/0.7345, allocations: 0 / 1.506 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001019/0.7355, allocations: 204 kB / 1.507 GB, free: 236.2 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 (19): * 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: 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 Backend phase and start with SimCode phase: time 0.0002024/0.7358, allocations: 122 kB / 1.507 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.7398, allocations: 1.628 MB / 1.508 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.895e-06/0.7398, allocations: 0 / 1.508 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.7413, allocations: 0.6691 MB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.7422, allocations: 119.8 kB / 1.509 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.7443, allocations: 1.221 MB / 1.51 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.7448, allocations: 0.9249 MB / 1.511 GB, free: 231.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007918/0.7456, allocations: 150.1 kB / 1.511 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.7458, allocations: 39.42 kB / 1.511 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.677e-06/0.7458, allocations: 0 / 1.511 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.02157/0.7674, allocations: 11.92 MB / 1.523 GB, free: 219.5 MB / 0.8542 GB