Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001496/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.265/2.265, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.511/4.511, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006584, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.262, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.009268/1.271, allocations: 4.407 MB / 0.9852 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.282, allocations: 3.677 MB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/1.283, allocations: 7.938 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/1.284, allocations: 91.36 kB / 0.9889 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/1.286, allocations: 438.6 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/1.289, allocations: 377.8 kB / 0.9896 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001902/1.291, allocations: 0.5618 MB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/1.293, allocations: 0.633 MB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/1.294, allocations: 294.9 kB / 0.9911 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/1.296, allocations: 358.7 kB / 0.9914 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/1.296, allocations: 32 kB / 0.9915 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/1.298, allocations: 451.3 kB / 0.9919 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006441/1.299, allocations: 255.3 kB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/1.299, allocations: 145.3 kB / 0.9923 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/1.301, allocations: 0.9295 MB / 0.9932 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.302, allocations: 0 / 0.9932 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.437e-06/1.302, allocations: 0 / 0.9932 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.302, allocations: 0 / 0.9932 GB, free: 9.637 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003564/1.305, allocations: 0.9468 MB / 0.9941 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.28e-05/1.305, allocations: 8.031 kB / 0.9941 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/1.306, allocations: 114.5 kB / 0.9942 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/1.325, allocations: 1.66 MB / 0.9959 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/1.329, allocations: 0.5385 MB / 0.9964 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.329, allocations: 45.3 kB / 0.9964 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004061/1.329, allocations: 63.94 kB / 0.9965 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/1.34, allocations: 1.825 MB / 0.9983 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.339e-05/1.34, allocations: 7.938 kB / 0.9983 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/1.34, allocations: 27.98 kB / 0.9983 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/1.34, allocations: 101.5 kB / 0.9984 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/1.354, allocations: 2.476 MB / 1.001 GB, free: 1.652 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/1.366, allocations: 6.345 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/1.37, allocations: 1.347 MB / 1.008 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004588/1.375, allocations: 2.135 MB / 1.01 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.717e-05/1.375, allocations: 54.5 kB / 1.01 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=69): time 5.44e-06/1.375, allocations: 0 / 1.01 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71): time 0.02193/1.397, allocations: 4.066 MB / 1.014 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/1.397, allocations: 195.9 kB / 1.015 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.399, allocations: 0.5134 MB / 1.015 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002481/1.399, allocations: 37.7 kB / 1.015 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/1.399, allocations: 386.4 kB / 1.016 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/1.4, allocations: 252.4 kB / 1.016 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.4, allocations: 20 kB / 1.016 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002676/1.4, allocations: 374.8 kB / 1.016 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005193/1.406, allocations: 0.8454 MB / 1.017 GB, free: 420 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.411, allocations: 1.114 MB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005356/1.417, allocations: 0.9093 MB / 1.019 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.417, allocations: 0 / 1.019 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01403/1.431, allocations: 2.398 MB / 1.021 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.00322/1.434, allocations: 3.219 MB / 1.024 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/1.434, allocations: 8 kB / 1.024 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.438, allocations: 441.2 kB / 1.025 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.442, allocations: 447.2 kB / 1.025 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.454, allocations: 4.335 MB / 1.03 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/1.458, allocations: 287.3 kB / 1.03 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.459, allocations: 59.91 kB / 1.03 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.459, allocations: 4 kB / 1.03 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/1.471, allocations: 2.072 MB / 1.032 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-05/1.471, allocations: 12.38 kB / 1.032 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/1.472, allocations: 112.8 kB / 1.032 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/1.477, allocations: 471.4 kB / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.482, allocations: 1.98 MB / 1.034 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.485, allocations: 275.3 kB / 1.035 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/1.486, allocations: 51.97 kB / 1.035 GB, free: 13.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 114 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.487, allocations: 332.9 kB / 1.035 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006327/1.488, allocations: 63.25 kB / 1.035 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.501, allocations: 2.124 MB / 1.037 GB, free: 10.92 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/1.501, allocations: 8 kB / 1.037 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/1.501, allocations: 4 kB / 1.037 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.501, allocations: 3.984 kB / 1.037 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.515, allocations: 3.804 MB / 1.041 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.515, allocations: 11.94 kB / 1.041 GB, free: 6.973 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.518, allocations: 335.4 kB / 1.041 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/1.52, allocations: 373.3 kB / 1.042 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/1.52, allocations: 31.97 kB / 1.042 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00922/1.529, allocations: 4.171 MB / 1.046 GB, free: 1.805 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.795e-05/1.529, allocations: 7.938 kB / 1.046 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.541, allocations: 2.534 MB / 1.048 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.543, allocations: 280.1 kB / 1.048 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/1.543, allocations: 16 kB / 1.048 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/1.546, allocations: 259.5 kB / 1.049 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/1.547, allocations: 71.81 kB / 1.049 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.547, allocations: 35.97 kB / 1.049 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008804/1.548, allocations: 366.8 kB / 1.049 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.91e-07/1.548, allocations: 0 / 1.049 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003209/1.551, allocations: 420 kB / 1.05 GB, free: 13.64 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/1.564, allocations: 4.345 MB / 1.054 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01724/1.581, allocations: 3.418 MB / 1.057 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/1.581, allocations: 0 / 1.057 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005761/1.587, allocations: 1.228 MB / 1.058 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.589, allocations: 100.4 kB / 1.058 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.621, allocations: 13.04 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/1.622, allocations: 0.9953 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002148/1.624, allocations: 483.2 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/1.625, allocations: 247.3 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of SimCode: time 1.523e-06/1.625, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/1.687, allocations: 18.81 MB / 1.091 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009542/1.688, allocations: 256.8 kB / 1.091 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/5.563, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat