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.001095/0.001095, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001107/0.001108, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 286.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9101/0.9101, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 92.66 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1736, allocations: 86.96 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006643/0.1802, allocations: 4.887 MB / 0.6864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1842, allocations: 2.487 MB / 0.6888 GB, free: 24 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1846, allocations: 23.81 kB / 0.6888 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3439/0.5284, allocations: 394.8 kB / 0.6892 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.5296, allocations: 445 kB / 0.6896 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.5307, allocations: 400.5 kB / 0.69 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.5319, allocations: 0.9225 MB / 0.6909 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.5326, allocations: 362.2 kB / 0.6913 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.5331, allocations: 340.5 kB / 0.6916 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.5336, allocations: 350 kB / 0.6919 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.5337, allocations: 38.91 kB / 0.692 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007606/0.5345, allocations: 403 kB / 0.6923 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.5347, allocations: 182.3 kB / 0.6925 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.535, allocations: 320.9 kB / 0.6928 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.536, allocations: 0.8841 MB / 0.6937 GB, free: 13.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.536, allocations: 1.031 kB / 0.6937 GB, free: 13.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.536, allocations: 0 / 0.6937 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5361, allocations: 1.438 kB / 0.6937 GB, free: 13.07 MB / 494.1 MB 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.001332/0.5374, allocations: 0.9526 MB / 0.6946 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5374, allocations: 8.781 kB / 0.6946 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.5387, allocations: 210.1 kB / 0.6948 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.5396, allocations: 0.5408 MB / 0.6954 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.5396, allocations: 33.7 kB / 0.6954 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.5397, allocations: 51.98 kB / 0.6954 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5408, allocations: 0.8469 MB / 0.6963 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5408, allocations: 11.31 kB / 0.6963 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.5409, allocations: 25.06 kB / 0.6963 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.541, allocations: 62.09 kB / 0.6964 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.5418, allocations: 0.5682 MB / 0.6969 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.5452, allocations: 5.644 MB / 0.7024 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.5458, allocations: 453.9 kB / 0.7029 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.5461, allocations: 227.8 kB / 0.7031 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.5461, allocations: 4.609 kB / 0.7031 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.5461, allocations: 40.06 kB / 0.7031 GB, free: 5.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.5461, allocations: 0 / 0.7031 GB, free: 5.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002255/0.5484, allocations: 1.507 MB / 0.7046 GB, free: 4.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.5484, allocations: 55.81 kB / 0.7046 GB, free: 4.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.5489, allocations: 0.5004 MB / 0.7051 GB, free: 4.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.549, allocations: 31.23 kB / 0.7052 GB, free: 4.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.5491, allocations: 361.7 kB / 0.7055 GB, free: 4.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.5492, allocations: 117 kB / 0.7056 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.5494, allocations: 111.5 kB / 0.7057 GB, free: 4.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.5495, allocations: 369.5 kB / 0.7061 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5497, allocations: 192.5 kB / 0.7063 GB, free: 3.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.5501, allocations: 450 kB / 0.7067 GB, free: 3.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.5508, allocations: 0.6908 MB / 0.7074 GB, free: 2.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5508, allocations: 1.906 kB / 0.7074 GB, free: 2.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001175/0.552, allocations: 0.8128 MB / 0.7082 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.552, allocations: 8.75 kB / 0.7082 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5521, allocations: 9.75 kB / 0.7082 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/0.5525, allocations: 156.6 kB / 0.7083 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.553, allocations: 128.9 kB / 0.7084 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.5559, allocations: 4.339 MB / 0.7127 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.5563, allocations: 38.89 kB / 0.7127 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.5564, allocations: 32.06 kB / 0.7128 GB, free: 14 MB / 0.4981 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.0002886/0.5567, allocations: 221.8 kB / 0.713 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5568, allocations: 63.44 kB / 0.713 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.558, allocations: 0.5955 MB / 0.7136 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.558, allocations: 3.094 kB / 0.7136 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.558, allocations: 1.812 kB / 0.7136 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.558, allocations: 1.641 kB / 0.7136 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.56, allocations: 1.265 MB / 0.7148 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.5601, allocations: 1.844 kB / 0.7149 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5603, allocations: 55.34 kB / 0.7149 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.5607, allocations: 147.2 kB / 0.715 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.5608, allocations: 8.25 kB / 0.7151 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.5639, allocations: 4.333 MB / 0.7193 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5639, allocations: 6.438 kB / 0.7193 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.565, allocations: 0.7126 MB / 0.72 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.5653, allocations: 166.5 kB / 0.7201 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.5654, allocations: 11.36 kB / 0.7202 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.5656, allocations: 28.59 kB / 0.7202 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.5657, allocations: 30.72 kB / 0.7202 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.5657, allocations: 8.547 kB / 0.7202 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004392/0.5662, allocations: 343.2 kB / 0.7205 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5662, allocations: 0 / 0.7205 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007015/0.5669, allocations: 142.2 kB / 0.7207 GB, free: 7.711 MB / 0.4981 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 0.0001542/0.5671, allocations: 113.6 kB / 0.7208 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.5685, allocations: 1.041 MB / 0.7218 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5685, allocations: 0 / 0.7218 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007973/0.5693, allocations: 0.7281 MB / 0.7225 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.5702, allocations: 205 kB / 0.7227 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5717, allocations: 1.054 MB / 0.7237 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5723, allocations: 0.9088 MB / 0.7246 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003125/0.5726, allocations: 119.5 kB / 0.7247 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.5727, allocations: 40.39 kB / 0.7248 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.5727, allocations: 3.938 kB / 0.7248 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.01387/0.5866, allocations: 7.624 MB / 0.7322 GB, free: 2.371 MB / 0.4981 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)