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.0009655/0.0009654, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00105/0.00105, allocations: 191.5 kB / 16.13 MB, free: 6.676 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 282.3 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 95.64 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.98 MB / 0.6795 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005706/0.1521, allocations: 4.898 MB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.1557, allocations: 2.507 MB / 0.6867 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.1559, allocations: 23.81 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009896/0.1569, allocations: 362.4 kB / 0.6871 GB, free: 9.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000761/0.1577, allocations: 418 kB / 0.6875 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.1584, allocations: 370.2 kB / 0.6878 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.1593, allocations: 1.132 MB / 0.6889 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.1598, allocations: 351.5 kB / 0.6892 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1602, allocations: 302.6 kB / 0.6895 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.1606, allocations: 354.4 kB / 0.6899 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.1606, allocations: 28 kB / 0.6899 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006862/0.1613, allocations: 499 kB / 0.6904 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1615, allocations: 175.4 kB / 0.6905 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1618, allocations: 306.2 kB / 0.6908 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.1626, allocations: 0.8954 MB / 0.6917 GB, free: 4.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1626, allocations: 3.938 kB / 0.6917 GB, free: 4.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1626, allocations: 0 / 0.6917 GB, free: 4.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1626, allocations: 0 / 0.6917 GB, free: 4.574 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.00124/0.1638, allocations: 0.9464 MB / 0.6926 GB, free: 3.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1639, allocations: 8.031 kB / 0.6926 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1651, allocations: 203.8 kB / 0.6928 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.1657, allocations: 0.4943 MB / 0.6933 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1658, allocations: 33.36 kB / 0.6934 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1658, allocations: 56.34 kB / 0.6934 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.1668, allocations: 0.8448 MB / 0.6942 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1668, allocations: 3.938 kB / 0.6942 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.1669, allocations: 24 kB / 0.6943 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.227e-05/0.167, allocations: 64.95 kB / 0.6943 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.1678, allocations: 0.5656 MB / 0.6949 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.1716, allocations: 5.666 MB / 0.7004 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.1722, allocations: 458.2 kB / 0.7008 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1725, allocations: 224.7 kB / 0.7011 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1725, allocations: 4 kB / 0.7011 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1726, allocations: 38.5 kB / 0.7011 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.1726, allocations: 4 kB / 0.7011 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002342/0.1749, allocations: 1.501 MB / 0.7026 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.175, allocations: 59.62 kB / 0.7026 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.1754, allocations: 0.4952 MB / 0.7031 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1755, allocations: 29.7 kB / 0.7031 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1757, allocations: 362.8 kB / 0.7035 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.1758, allocations: 122.3 kB / 0.7036 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1759, allocations: 114.2 kB / 0.7037 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.176, allocations: 366.8 kB / 0.7041 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.1763, allocations: 193.2 kB / 0.7042 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.1767, allocations: 447.3 kB / 0.7047 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.1775, allocations: 0.6882 MB / 0.7053 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1775, allocations: 8 kB / 0.7053 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001175/0.1787, allocations: 0.8057 MB / 0.7061 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1787, allocations: 8 kB / 0.7061 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1787, allocations: 16.11 kB / 0.7062 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/0.1792, allocations: 152.1 kB / 0.7063 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.1796, allocations: 127.7 kB / 0.7064 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.1826, allocations: 4.032 MB / 0.7104 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.183, allocations: 35.97 kB / 0.7104 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.183, allocations: 28 kB / 0.7104 GB, free: 15.95 MB / 0.5137 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.0002528/0.1833, allocations: 215 kB / 0.7106 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.1834, allocations: 59.25 kB / 0.7107 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/0.1844, allocations: 0.6011 MB / 0.7113 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1844, allocations: 4 kB / 0.7113 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1844, allocations: 4 kB / 0.7113 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1844, allocations: 7.922 kB / 0.7113 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.1861, allocations: 1.27 MB / 0.7125 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1861, allocations: 0 / 0.7125 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1864, allocations: 55.89 kB / 0.7126 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.1868, allocations: 140.2 kB / 0.7127 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1868, allocations: 12.16 kB / 0.7127 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.1896, allocations: 4.02 MB / 0.7167 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1896, allocations: 0 / 0.7167 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1907, allocations: 0.7116 MB / 0.7173 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.1909, allocations: 164.4 kB / 0.7175 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.1909, allocations: 11.94 kB / 0.7175 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1912, allocations: 23.97 kB / 0.7175 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.1913, allocations: 31.84 kB / 0.7176 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1913, allocations: 11.98 kB / 0.7176 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003521/0.1917, allocations: 342.8 kB / 0.7179 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1917, allocations: 0 / 0.7179 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006556/0.1923, allocations: 144 kB / 0.718 GB, free: 7.535 MB / 0.5137 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.0001407/0.1925, allocations: 109.5 kB / 0.7181 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.1939, allocations: 1.037 MB / 0.7192 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1939, allocations: 4 kB / 0.7192 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.1948, allocations: 0.7346 MB / 0.7199 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.1957, allocations: 192.8 kB / 0.7201 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1972, allocations: 1.271 MB / 0.7213 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.1977, allocations: 0.9098 MB / 0.7222 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003363/0.198, allocations: 121.3 kB / 0.7223 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.1981, allocations: 39.44 kB / 0.7223 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1981, allocations: 0 / 0.7223 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of Templates: time 0.01286/0.211, allocations: 7.364 MB / 0.7295 GB, free: 11.6 MB / 0.5294 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)