Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.993/4.993, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.004458/0.004457, allocations: 359.5 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.113/4.113, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.003091/0.003091, allocations: 195.5 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 12 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6552, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009401/0.6647, allocations: 9.06 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005081/0.6698, allocations: 3.053 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.6706, allocations: 28.5 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.671, allocations: 170.8 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.6725, allocations: 0.6293 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.674, allocations: 0.5289 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.6771, allocations: 3.499 MB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004449/0.6816, allocations: 2.701 MB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.6831, allocations: 0.9508 MB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.685, allocations: 1.428 MB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.6854, allocations: 112 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.6862, allocations: 259.7 kB / 1.483 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008691/0.6871, allocations: 0.9237 MB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.6876, allocations: 378.5 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.6903, allocations: 3.006 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.014e-06/0.6904, allocations: 0 / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.463e-06/0.6904, allocations: 0 / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.933e-05/0.6905, allocations: 3.938 kB / 1.487 GB, free: 257.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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003514/0.694, allocations: 1.787 MB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.694, allocations: 11.62 kB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.705, allocations: 1.458 MB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.7077, allocations: 1.219 MB / 1.491 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/0.7078, allocations: 115 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005002/0.7083, allocations: 154.8 kB / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.7149, allocations: 3.416 MB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.715, allocations: 3.938 kB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.7153, allocations: 68.94 kB / 1.495 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.7156, allocations: 203.1 kB / 1.495 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006465/0.7221, allocations: 3.113 MB / 1.498 GB, free: 246 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.7415, allocations: 13.58 MB / 1.511 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.7446, allocations: 1.723 MB / 1.513 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.747, allocations: 1.434 MB / 1.514 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7472, allocations: 9 kB / 1.514 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.7472, allocations: 43.56 kB / 1.514 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 4.768e-06/0.7472, allocations: 4 kB / 1.514 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183): time 0.1609/0.9082, allocations: 35.92 MB / 1.55 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9082, allocations: 73.36 kB / 1.55 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.9098, allocations: 1.046 MB / 1.551 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/0.9102, allocations: 57.7 kB / 1.551 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.9107, allocations: 0.7835 MB / 1.551 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/0.9113, allocations: 0.6277 MB / 1.552 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.9115, allocations: 36 kB / 1.552 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9116, allocations: 381.9 kB / 1.552 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003251/0.9149, allocations: 1.928 MB / 1.554 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.9185, allocations: 2.279 MB / 1.557 GB, free: 185 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.9221, allocations: 2.211 MB / 1.559 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.9222, allocations: 0 / 1.559 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02326/0.9455, allocations: 8.985 MB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.9455, allocations: 15.59 kB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.9456, allocations: 8.656 kB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/0.9663, allocations: 4.978 MB / 1.572 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.9674, allocations: 195.7 kB / 1.573 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0934/1.061, allocations: 35.07 MB / 1.607 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.065, allocations: 103.9 kB / 1.607 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/1.065, allocations: 73.08 kB / 1.607 GB, free: 132.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002776/1.068, allocations: 0.794 MB / 1.608 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/1.069, allocations: 142.3 kB / 1.608 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03319/1.102, allocations: 8.867 MB / 1.617 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/1.102, allocations: 16 kB / 1.617 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/1.102, allocations: 39.92 kB / 1.617 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/1.102, allocations: 7.969 kB / 1.617 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03144/1.134, allocations: 13.23 MB / 1.63 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.134, allocations: 4 kB / 1.63 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.134, allocations: 119.8 kB / 1.63 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02026/1.155, allocations: 4.767 MB / 1.634 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004293/1.155, allocations: 32 kB / 1.634 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05537/1.21, allocations: 31.4 MB / 1.665 GB, free: 72.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.397e-06/1.211, allocations: 8 kB / 1.665 GB, free: 72.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02825/1.239, allocations: 8.381 MB / 1.673 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/1.242, allocations: 0.6169 MB / 1.674 GB, free: 63.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/1.243, allocations: 35.95 kB / 1.674 GB, free: 63.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002909/1.245, allocations: 87.89 kB / 1.674 GB, free: 63.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/1.247, allocations: 165.7 kB / 1.674 GB, free: 63.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000427/1.247, allocations: 48 kB / 1.674 GB, free: 63.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002047/1.249, allocations: 0.7226 MB / 1.675 GB, free: 62.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.833e-06/1.249, allocations: 0 / 1.675 GB, free: 62.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006931/1.256, allocations: 1.004 MB / 1.676 GB, free: 61.42 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000777/1.257, allocations: 143.1 kB / 1.676 GB, free: 61.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02086/1.278, allocations: 5.828 MB / 1.682 GB, free: 55.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.278, allocations: 4 kB / 1.682 GB, free: 55.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/1.295, allocations: 3.784 MB / 1.685 GB, free: 51.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.299, allocations: 225.6 kB / 1.686 GB, free: 51.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.315, allocations: 5.619 MB / 1.691 GB, free: 45.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.318, allocations: 1.894 MB / 1.693 GB, free: 43.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002017/1.32, allocations: 356.8 kB / 1.693 GB, free: 43.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/1.321, allocations: 63.42 kB / 1.693 GB, free: 43.34 MB / 0.8542 GB Notification: Performance of SimCode: time 2.328e-06/1.321, allocations: 0 / 1.693 GB, free: 43.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.6459/1.966, allocations: 54.37 MB / 1.746 GB, free: 253.4 MB / 0.8542 GB