Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.002066/0.002066, allocations: 168.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.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 271.1 kB / 291.3 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9834/0.9834, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 17.31 kB / 0.598 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005637/0.1785, allocations: 4.806 MB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.1845, allocations: 3.828 MB / 0.6929 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.185, allocations: 19.81 kB / 0.6929 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1854, allocations: 99.23 kB / 0.693 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1867, allocations: 0.5072 MB / 0.6935 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.188, allocations: 419.5 kB / 0.6939 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1895, allocations: 1.322 MB / 0.6952 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.1908, allocations: 0.6712 MB / 0.6959 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.1914, allocations: 386.5 kB / 0.6962 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007899/0.1922, allocations: 0.5177 MB / 0.6968 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.1923, allocations: 40 kB / 0.6968 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1935, allocations: 499.2 kB / 0.6973 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.1938, allocations: 291.2 kB / 0.6975 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.194, allocations: 161.3 kB / 0.6977 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1953, allocations: 1.029 MB / 0.6987 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1953, allocations: 0 / 0.6987 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1954, allocations: 0 / 0.6987 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1954, allocations: 0 / 0.6987 GB, free: 0.8125 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001759/0.1971, allocations: 1.024 MB / 0.6997 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1972, allocations: 12.03 kB / 0.6997 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008374/0.2056, allocations: 1.699 MB / 0.7014 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2069, allocations: 0.6069 MB / 0.702 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.2069, allocations: 45.3 kB / 0.702 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.2071, allocations: 51.98 kB / 0.7021 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.2114, allocations: 1.913 MB / 0.7039 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.2115, allocations: 7.938 kB / 0.7039 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2116, allocations: 23.98 kB / 0.704 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000312/0.2119, allocations: 153.4 kB / 0.7041 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/0.2189, allocations: 2.62 MB / 0.7067 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.2291, allocations: 6.653 MB / 0.7132 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.2322, allocations: 1.266 MB / 0.7144 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.2345, allocations: 0.8999 MB / 0.7153 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002379/0.2369, allocations: 1.491 MB / 0.7167 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.237, allocations: 46.56 kB / 0.7168 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.237, allocations: 0 / 0.7168 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=107): time 0.02553/0.2625, allocations: 8.231 MB / 0.7248 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.2627, allocations: 90.11 kB / 0.7249 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.2635, allocations: 0.5807 MB / 0.7255 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.2638, allocations: 41.7 kB / 0.7255 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.2641, allocations: 419.1 kB / 0.7259 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.2645, allocations: 370.6 kB / 0.7263 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2646, allocations: 24 kB / 0.7263 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2648, allocations: 394.8 kB / 0.7267 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.2676, allocations: 1.103 MB / 0.7277 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.2705, allocations: 1.456 MB / 0.7292 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.2734, allocations: 1.226 MB / 0.7304 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2734, allocations: 0 / 0.7304 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01047/0.2839, allocations: 3.885 MB / 0.7342 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.2843, allocations: 392.5 kB / 0.7345 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.2843, allocations: 12 kB / 0.7345 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005019/0.2893, allocations: 1.384 MB / 0.7359 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.2915, allocations: 467.2 kB / 0.7363 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.3079, allocations: 11.21 MB / 0.7473 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.3101, allocations: 319.6 kB / 0.7476 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3103, allocations: 59.97 kB / 0.7476 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3103, allocations: 4 kB / 0.7476 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009341/0.3196, allocations: 3.565 MB / 0.7511 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.3197, allocations: 12 kB / 0.7511 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/0.3235, allocations: 1.1 MB / 0.7522 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3256, allocations: 475.2 kB / 0.7527 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.3394, allocations: 10.34 MB / 0.7628 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.3416, allocations: 303.6 kB / 0.7631 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.3418, allocations: 67.97 kB / 0.7631 GB, free: 12.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007361/0.3426, allocations: 377.3 kB / 0.7635 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.3428, allocations: 87.06 kB / 0.7636 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.3528, allocations: 3.754 MB / 0.7672 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.3529, allocations: 19.95 kB / 0.7672 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.3529, allocations: 8 kB / 0.7673 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.3529, allocations: 7.969 kB / 0.7673 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.3673, allocations: 5.48 MB / 0.7726 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/0.3674, allocations: 4 kB / 0.7726 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.3698, allocations: 363.4 kB / 0.773 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006517/0.3763, allocations: 1.244 MB / 0.7742 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/0.3767, allocations: 35.97 kB / 0.7742 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3942/0.7709, allocations: 10.75 MB / 0.7847 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.771, allocations: 9.5 kB / 0.7847 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/0.7803, allocations: 3.666 MB / 0.7883 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.7809, allocations: 336.8 kB / 0.7886 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.7811, allocations: 27.2 kB / 0.7886 GB, free: 81.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.7827, allocations: 317 kB / 0.7889 GB, free: 81.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.7831, allocations: 109.3 kB / 0.7891 GB, free: 81.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.7832, allocations: 48.47 kB / 0.7891 GB, free: 81.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000491/0.7837, allocations: 401.6 kB / 0.7895 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7837, allocations: 0 / 0.7895 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002069/0.7858, allocations: 0.602 MB / 0.7901 GB, free: 81.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002409/0.786, allocations: 133.2 kB / 0.7902 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01303/0.7991, allocations: 5.715 MB / 0.7958 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.7991, allocations: 2.875 kB / 0.7958 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004538/0.8037, allocations: 2.12 MB / 0.7979 GB, free: 77.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8048, allocations: 153.2 kB / 0.798 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009353/0.8142, allocations: 3.832 MB / 0.8017 GB, free: 76.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.8149, allocations: 1.114 MB / 0.8028 GB, free: 75.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001914/0.8168, allocations: 0.5396 MB / 0.8034 GB, free: 75.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.8171, allocations: 82.12 kB / 0.8034 GB, free: 75.71 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.8171, allocations: 3.844 kB / 0.8034 GB, free: 75.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.03321/0.8503, allocations: 25.93 MB / 0.8288 GB, free: 58.5 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)