Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.2 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 195.5 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 287.5 kB / 291 MB, free: 14.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 178.5 MB / 0.5076 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 95.86 kB / 0.6066 GB, free: 9.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1699, allocations: 89.14 MB / 0.6936 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006708/0.1766, allocations: 4.902 MB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.1808, allocations: 2.479 MB / 0.7008 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.1811, allocations: 23.81 kB / 0.7009 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1822, allocations: 362.4 kB / 0.7012 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.1832, allocations: 414 kB / 0.7016 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.184, allocations: 361.8 kB / 0.702 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.185, allocations: 0.929 MB / 0.7029 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006429/0.1857, allocations: 402.7 kB / 0.7032 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.1863, allocations: 338.6 kB / 0.7036 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.1869, allocations: 366.4 kB / 0.7039 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.187, allocations: 44 kB / 0.704 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008306/0.1878, allocations: 403.1 kB / 0.7043 GB, free: 5.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.188, allocations: 179.5 kB / 0.7045 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.1884, allocations: 318.2 kB / 0.7048 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1894, allocations: 0.6742 MB / 0.7055 GB, free: 4.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1894, allocations: 0 / 0.7055 GB, free: 4.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.926e-06/0.1895, allocations: 0 / 0.7055 GB, free: 4.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.1895, allocations: 0 / 0.7055 GB, free: 4.199 MB / 0.545 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.001674/0.1912, allocations: 0.9501 MB / 0.7064 GB, free: 3.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1912, allocations: 12.03 kB / 0.7064 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.1925, allocations: 195.9 kB / 0.7066 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.1932, allocations: 0.4983 MB / 0.7071 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1933, allocations: 33.36 kB / 0.7071 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.1933, allocations: 44.36 kB / 0.7072 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1945, allocations: 0.8562 MB / 0.708 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.1946, allocations: 7.938 kB / 0.708 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.1946, allocations: 20 kB / 0.708 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.1947, allocations: 68.95 kB / 0.7081 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.1956, allocations: 0.5578 MB / 0.7086 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2613/0.4569, allocations: 5.661 MB / 0.7142 GB, free: 44.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.4575, allocations: 452.9 kB / 0.7146 GB, free: 44.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.4578, allocations: 230.1 kB / 0.7148 GB, free: 44.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4579, allocations: 4.391 kB / 0.7148 GB, free: 44.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.4579, allocations: 36.5 kB / 0.7149 GB, free: 44.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.4579, allocations: 0 / 0.7149 GB, free: 44.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002103/0.46, allocations: 1.509 MB / 0.7163 GB, free: 44.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.46, allocations: 55 kB / 0.7164 GB, free: 44.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.4604, allocations: 0.5053 MB / 0.7169 GB, free: 44.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4604, allocations: 28.39 kB / 0.7169 GB, free: 44.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4606, allocations: 367.8 kB / 0.7173 GB, free: 43.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.4606, allocations: 119 kB / 0.7174 GB, free: 43.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4607, allocations: 104.1 kB / 0.7175 GB, free: 43.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.4608, allocations: 367.4 kB / 0.7178 GB, free: 43.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.461, allocations: 197.9 kB / 0.718 GB, free: 43.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.4613, allocations: 445.1 kB / 0.7184 GB, free: 42.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.4619, allocations: 0.6935 MB / 0.7191 GB, free: 42.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4619, allocations: 7.094 kB / 0.7191 GB, free: 42.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000989/0.4629, allocations: 0.8087 MB / 0.7199 GB, free: 42.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4629, allocations: 7.688 kB / 0.7199 GB, free: 42.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4629, allocations: 16.59 kB / 0.7199 GB, free: 42.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/0.4634, allocations: 147 kB / 0.7201 GB, free: 42.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.4637, allocations: 125.4 kB / 0.7202 GB, free: 42.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.4658, allocations: 4.346 MB / 0.7244 GB, free: 37.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.4662, allocations: 38.73 kB / 0.7245 GB, free: 37.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.4662, allocations: 26.56 kB / 0.7245 GB, free: 37.74 MB / 0.545 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.4664, allocations: 218.3 kB / 0.7247 GB, free: 37.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.4665, allocations: 60.09 kB / 0.7248 GB, free: 37.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.4673, allocations: 0.6004 MB / 0.7253 GB, free: 37.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4673, allocations: 3.609 kB / 0.7253 GB, free: 37.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4673, allocations: 2.75 kB / 0.7253 GB, free: 37.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4674, allocations: 3.188 kB / 0.7254 GB, free: 37.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.4687, allocations: 1.258 MB / 0.7266 GB, free: 36.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4687, allocations: 7.344 kB / 0.7266 GB, free: 36.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.469, allocations: 57.75 kB / 0.7266 GB, free: 36.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/0.4693, allocations: 146.5 kB / 0.7268 GB, free: 36.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4693, allocations: 6.938 kB / 0.7268 GB, free: 36.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.4713, allocations: 4.343 MB / 0.731 GB, free: 32.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4713, allocations: 2.938 kB / 0.731 GB, free: 32.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.4721, allocations: 0.7018 MB / 0.7317 GB, free: 31.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4723, allocations: 170.7 kB / 0.7319 GB, free: 31.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.4723, allocations: 12.41 kB / 0.7319 GB, free: 31.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.4726, allocations: 25.02 kB / 0.7319 GB, free: 31.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4727, allocations: 37.36 kB / 0.732 GB, free: 31.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4727, allocations: 6.25 kB / 0.732 GB, free: 31.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002632/0.4729, allocations: 343.5 kB / 0.7323 GB, free: 31.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4729, allocations: 0 / 0.7323 GB, free: 31.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005771/0.4735, allocations: 142 kB / 0.7324 GB, free: 31.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.845e-05/0.4736, allocations: 111.5 kB / 0.7325 GB, free: 31.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.4747, allocations: 1.079 MB / 0.7336 GB, free: 30.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4747, allocations: 0 / 0.7336 GB, free: 30.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.4754, allocations: 0.7408 MB / 0.7343 GB, free: 30.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.4763, allocations: 208.9 kB / 0.7345 GB, free: 29.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4775, allocations: 1.327 MB / 0.7358 GB, free: 29.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4778, allocations: 0.9102 MB / 0.7367 GB, free: 28.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4779, allocations: 42.92 kB / 0.7367 GB, free: 28.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4779, allocations: 2.875 kB / 0.7367 GB, free: 28.43 MB / 0.545 GB Notification: Performance of Templates: time 0.01766/0.4955, allocations: 18.32 MB / 0.7546 GB, free: 27.12 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)