Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009527, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001048/0.001048, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 278.1 kB / 291.4 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9715/0.9715, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004659, allocations: 12.69 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01533/0.1908, allocations: 14.5 MB / 0.6987 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.1983, allocations: 4.554 MB / 0.7031 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.1994, allocations: 56.66 kB / 0.7032 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.2, allocations: 254 kB / 0.7034 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2016, allocations: 0.5849 MB / 0.704 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2031, allocations: 0.4904 MB / 0.7045 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004593/0.2077, allocations: 4.113 MB / 0.7085 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007601/0.2153, allocations: 4.961 MB / 0.7133 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.2176, allocations: 1.113 MB / 0.7144 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.2198, allocations: 1.464 MB / 0.7158 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.22, allocations: 144 kB / 0.716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/0.2211, allocations: 403.6 kB / 0.7164 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.2222, allocations: 1.068 MB / 0.7174 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.2227, allocations: 492.5 kB / 0.7179 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.2265, allocations: 4.262 MB / 0.722 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2265, allocations: 0 / 0.722 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2265, allocations: 0 / 0.722 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001169/0.2266, allocations: 0 / 0.722 GB, free: 8.883 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004223/0.2309, allocations: 2.202 MB / 0.7242 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2309, allocations: 8.031 kB / 0.7242 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.2349, allocations: 0.8319 MB / 0.725 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2374, allocations: 1.493 MB / 0.7265 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2376, allocations: 176.8 kB / 0.7266 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.2379, allocations: 232 kB / 0.7268 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006395/0.2443, allocations: 4.138 MB / 0.7309 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.2444, allocations: 7.938 kB / 0.7309 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.2446, allocations: 95.98 kB / 0.731 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.2448, allocations: 172.5 kB / 0.7312 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005545/0.2504, allocations: 3.628 MB / 0.7347 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.2674, allocations: 16.54 MB / 0.7508 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.2706, allocations: 2.289 MB / 0.7531 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/0.2715, allocations: 0.5741 MB / 0.7536 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.2717, allocations: 105.6 kB / 0.7537 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.2717, allocations: 43.12 kB / 0.7538 GB, free: 6.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/0.2717, allocations: 0 / 0.7538 GB, free: 6.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005326/0.277, allocations: 3.444 MB / 0.7571 GB, free: 2.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.2771, allocations: 115.4 kB / 0.7573 GB, free: 2.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2785, allocations: 1.014 MB / 0.7582 GB, free: 1.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.2785, allocations: 41.7 kB / 0.7583 GB, free: 1.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.2793, allocations: 1.099 MB / 0.7594 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.2795, allocations: 272.2 kB / 0.7596 GB, free: 276 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.2796, allocations: 28 kB / 0.7596 GB, free: 248 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2798, allocations: 414.7 kB / 0.76 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.2807, allocations: 0.6167 MB / 0.7606 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.2819, allocations: 1.185 MB / 0.7618 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2831, allocations: 0.8618 MB / 0.7626 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.2831, allocations: 8 kB / 0.7626 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003032/0.2862, allocations: 2.014 MB / 0.7646 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.2862, allocations: 13.88 kB / 0.7646 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.2862, allocations: 20.62 kB / 0.7646 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.2866, allocations: 163.3 kB / 0.7648 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.2877, allocations: 351.4 kB / 0.7651 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-05/0.2878, allocations: 39.86 kB / 0.7652 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/0.2887, allocations: 139.7 kB / 0.7653 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.2888, allocations: 75.92 kB / 0.7654 GB, free: 10.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.2905, allocations: 0.97 MB / 0.7663 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.2907, allocations: 114.6 kB / 0.7664 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.2927, allocations: 1.237 MB / 0.7676 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2928, allocations: 8 kB / 0.7677 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2928, allocations: 3.953 kB / 0.7677 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2928, allocations: 3.984 kB / 0.7677 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005512/0.2983, allocations: 3.819 MB / 0.7714 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.2984, allocations: 4 kB / 0.7714 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.2989, allocations: 159.8 kB / 0.7715 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.2993, allocations: 135.6 kB / 0.7717 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.2994, allocations: 20 kB / 0.7717 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.2994, allocations: 8 kB / 0.7717 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.2994, allocations: 7.938 kB / 0.7717 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.3013, allocations: 1.468 MB / 0.7731 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.3018, allocations: 295.6 kB / 0.7734 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3019, allocations: 23.94 kB / 0.7735 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.3025, allocations: 67.91 kB / 0.7735 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3026, allocations: 56.48 kB / 0.7736 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3027, allocations: 31.92 kB / 0.7736 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009403/0.3036, allocations: 0.6835 MB / 0.7743 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3036, allocations: 0 / 0.7743 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001538/0.3052, allocations: 392.1 kB / 0.7746 GB, free: 308 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.3054, allocations: 139 kB / 0.7748 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3375/0.6428, allocations: 1.706 MB / 0.7764 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.6429, allocations: 1.125 kB / 0.7764 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.644, allocations: 0.8663 MB / 0.7773 GB, free: 90.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.646, allocations: 253.8 kB / 0.7775 GB, free: 90.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.6532, allocations: 4.613 MB / 0.782 GB, free: 87.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.6553, allocations: 1.924 MB / 0.7839 GB, free: 86.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001413/0.6567, allocations: 447 kB / 0.7843 GB, free: 86.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6569, allocations: 85.41 kB / 0.7844 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.6569, allocations: 0 / 0.7844 GB, free: 86.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.02658/0.6835, allocations: 12.43 MB / 0.7966 GB, free: 83.74 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)