Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001218/0.001218, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 282.8 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 92.89 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01797/0.1573, allocations: 16.3 MB / 0.6956 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007924/0.1653, allocations: 5.675 MB / 0.7011 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.166, allocations: 35.94 kB / 0.7011 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.1693, allocations: 1.458 MB / 0.7026 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1709, allocations: 0.7514 MB / 0.7033 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.173, allocations: 0.9739 MB / 0.7042 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003361/0.1764, allocations: 3.914 MB / 0.7081 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007748/0.1841, allocations: 6.845 MB / 0.7147 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.1864, allocations: 1.757 MB / 0.7165 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.1888, allocations: 2.205 MB / 0.7186 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.1893, allocations: 420 kB / 0.719 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1912, allocations: 1.065 MB / 0.7201 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.1928, allocations: 1.653 MB / 0.7217 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.1943, allocations: 1.603 MB / 0.7232 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.1992, allocations: 6.07 MB / 0.7292 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1992, allocations: 0 / 0.7292 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1992, allocations: 0 / 0.7292 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.572e-05/0.1993, allocations: 0 / 0.7292 GB, free: 14.14 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.004473/0.2038, allocations: 2.775 MB / 0.7319 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2038, allocations: 12.03 kB / 0.7319 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.2069, allocations: 0.6536 MB / 0.7325 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.2089, allocations: 1.43 MB / 0.7339 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.209, allocations: 210 kB / 0.7341 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.2094, allocations: 268.4 kB / 0.7344 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00706/0.2165, allocations: 4.712 MB / 0.739 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.2166, allocations: 3.938 kB / 0.739 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.2168, allocations: 116 kB / 0.7391 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.217, allocations: 156.6 kB / 0.7392 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005801/0.2228, allocations: 4.078 MB / 0.7432 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.2436, allocations: 20.3 MB / 0.7631 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.2468, allocations: 1.899 MB / 0.7649 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.2479, allocations: 0.7587 MB / 0.7656 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.2481, allocations: 109.7 kB / 0.7658 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2482, allocations: 39.22 kB / 0.7658 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 3.406e-06/0.2482, allocations: 0 / 0.7658 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.01874/0.2669, allocations: 5.178 MB / 0.7708 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.267, allocations: 149.4 kB / 0.771 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2978/0.5649, allocations: 0.9587 MB / 0.7719 GB, free: 89.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.5652, allocations: 42.73 kB / 0.772 GB, free: 89.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.566, allocations: 1.189 MB / 0.7731 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.5663, allocations: 329.9 kB / 0.7734 GB, free: 88.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000645/0.567, allocations: 358.4 kB / 0.7738 GB, free: 88.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.567, allocations: 329 kB / 0.7741 GB, free: 88.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5684, allocations: 0.8761 MB / 0.775 GB, free: 88.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.57, allocations: 1.515 MB / 0.7764 GB, free: 87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.5726, allocations: 2.451 MB / 0.7788 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.5726, allocations: 5.375 kB / 0.7788 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003473/0.5761, allocations: 2.51 MB / 0.7813 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5761, allocations: 16.75 kB / 0.7813 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.5761, allocations: 25.22 kB / 0.7813 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/0.5762, allocations: 34.59 kB / 0.7814 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.5785, allocations: 0.5153 MB / 0.7819 GB, free: 84.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.5785, allocations: 43.77 kB / 0.7819 GB, free: 84.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5796, allocations: 152.4 kB / 0.782 GB, free: 84.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5797, allocations: 90.42 kB / 0.7821 GB, free: 84.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002182/0.5819, allocations: 1.901 MB / 0.784 GB, free: 83.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001386/0.5833, allocations: 1.504 MB / 0.7855 GB, free: 82.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002459/0.5857, allocations: 2.425 MB / 0.7878 GB, free: 80.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/0.5858, allocations: 7.875 kB / 0.7878 GB, free: 80.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003235/0.589, allocations: 2.489 MB / 0.7903 GB, free: 79.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.589, allocations: 17.41 kB / 0.7903 GB, free: 79.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5891, allocations: 23.25 kB / 0.7903 GB, free: 79.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.5891, allocations: 31.38 kB / 0.7903 GB, free: 79.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.5914, allocations: 0.5108 MB / 0.7908 GB, free: 79.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/0.5914, allocations: 47.09 kB / 0.7909 GB, free: 79.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.5925, allocations: 150.9 kB / 0.791 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.5926, allocations: 85 kB / 0.7911 GB, free: 79.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.593, allocations: 292.9 kB / 0.7914 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.5932, allocations: 88.66 kB / 0.7915 GB, free: 79.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.5961, allocations: 1.839 MB / 0.7933 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5962, allocations: 14.22 kB / 0.7933 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5962, allocations: 1.25 kB / 0.7933 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5962, allocations: 5.891 kB / 0.7933 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.6069, allocations: 9.057 MB / 0.8021 GB, free: 72.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.607, allocations: 9.406 kB / 0.8021 GB, free: 72.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6081, allocations: 250 kB / 0.8024 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/0.6081, allocations: 14.72 kB / 0.8024 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.6082, allocations: 26.19 kB / 0.8024 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.6082, allocations: 22.16 kB / 0.8024 GB, free: 71.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.6082, allocations: 24.16 kB / 0.8025 GB, free: 71.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.6099, allocations: 1.773 MB / 0.8042 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.6104, allocations: 283.8 kB / 0.8045 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.6106, allocations: 37.02 kB / 0.8045 GB, free: 70.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.6113, allocations: 75.8 kB / 0.8046 GB, free: 70.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6115, allocations: 86.64 kB / 0.8046 GB, free: 70.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.6116, allocations: 38.69 kB / 0.8047 GB, free: 70.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009352/0.6125, allocations: 0.7339 MB / 0.8054 GB, free: 70.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6125, allocations: 2.266 kB / 0.8054 GB, free: 70.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00338/0.6159, allocations: 0.8047 MB / 0.8062 GB, free: 70.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002897/0.6162, allocations: 166 kB / 0.8063 GB, free: 70.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004286/0.6205, allocations: 3.13 MB / 0.8094 GB, free: 68.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.6205, allocations: 4.125 kB / 0.8094 GB, free: 68.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.6212, allocations: 0.5771 MB / 0.81 GB, free: 68.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.6226, allocations: 182.2 kB / 0.8101 GB, free: 68.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.6297, allocations: 5.545 MB / 0.8156 GB, free: 65.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/0.6317, allocations: 2.112 MB / 0.8176 GB, free: 63.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002222/0.6339, allocations: 1.019 MB / 0.8186 GB, free: 63.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.6342, allocations: 94.09 kB / 0.8187 GB, free: 63.22 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.6343, allocations: 0 / 0.8187 GB, free: 63.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.02115/0.6554, allocations: 14.69 MB / 0.8331 GB, free: 48.84 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)