Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_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.00097/0.0009699, allocations: 103.3 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.001095/0.001095, allocations: 173.3 kB / 15.95 MB, free: 212 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003254, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8419, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005106/0.847, allocations: 4.408 MB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005407/0.8525, allocations: 3.671 MB / 0.9615 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.8531, allocations: 10.69 kB / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.8534, allocations: 93.36 kB / 0.9616 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.8546, allocations: 436.2 kB / 0.962 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8558, allocations: 367.5 kB / 0.9624 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008303/0.8566, allocations: 0.5645 MB / 0.9629 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.8577, allocations: 0.6482 MB / 0.9635 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.8581, allocations: 293.2 kB / 0.9638 GB, free: 192 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.8587, allocations: 349.3 kB / 0.9642 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.8588, allocations: 32.16 kB / 0.9642 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.86, allocations: 461.2 kB / 0.9646 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.8602, allocations: 251.5 kB / 0.9649 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.8604, allocations: 144.4 kB / 0.965 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.8616, allocations: 0.9335 MB / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8616, allocations: 0 / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8616, allocations: 0 / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8616, allocations: 1.125 kB / 0.9659 GB, free: 14.94 MB / 0.7325 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.00191/0.8635, allocations: 0.9381 MB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8636, allocations: 9.875 kB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.8638, allocations: 116 kB / 0.967 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.8733, allocations: 1.651 MB / 0.9686 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.8747, allocations: 0.5405 MB / 0.9691 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.8747, allocations: 45.61 kB / 0.9691 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.8749, allocations: 60.55 kB / 0.9692 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.8798, allocations: 1.83 MB / 0.971 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.8798, allocations: 9.875 kB / 0.971 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.8799, allocations: 31.66 kB / 0.971 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.8802, allocations: 105.9 kB / 0.9711 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/0.8882, allocations: 2.475 MB / 0.9735 GB, free: 10.45 MB / 0.7325 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.009932/0.8982, allocations: 6.34 MB / 0.9797 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.9017, allocations: 1.35 MB / 0.9811 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002812/0.9046, allocations: 2.14 MB / 0.9831 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.9046, allocations: 46.56 kB / 0.9832 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 4.649e-06/0.9046, allocations: 3.938 kB / 0.9832 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71): time 0.01218/0.9168, allocations: 4.07 MB / 0.9872 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.917, allocations: 195.9 kB / 0.9874 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.9177, allocations: 0.5173 MB / 0.9879 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/0.9178, allocations: 37.7 kB / 0.9879 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.918, allocations: 398.4 kB / 0.9883 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.9183, allocations: 248.4 kB / 0.9885 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.9183, allocations: 20 kB / 0.9885 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9185, allocations: 370.8 kB / 0.9889 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.921, allocations: 0.8415 MB / 0.9897 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.9237, allocations: 1.114 MB / 0.9908 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.9263, allocations: 0.9179 MB / 0.9917 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.9263, allocations: 0 / 0.9917 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006791/0.9331, allocations: 2.39 MB / 0.994 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001713/0.9349, allocations: 3.228 MB / 0.9972 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.9349, allocations: 11.94 kB / 0.9972 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.9367, allocations: 449.1 kB / 0.9976 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.9388, allocations: 440.1 kB / 0.998 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.9446, allocations: 4.328 MB / 1.002 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.9468, allocations: 287.4 kB / 1.003 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.9471, allocations: 51.97 kB / 1.003 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9471, allocations: 4 kB / 1.003 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006185/0.9533, allocations: 2.084 MB / 1.005 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.9534, allocations: 8 kB / 1.005 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.9537, allocations: 113.2 kB / 1.005 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.9559, allocations: 471.2 kB / 1.005 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.9581, allocations: 1.972 MB / 1.007 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.9601, allocations: 279.4 kB / 1.007 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.9603, allocations: 55.95 kB / 1.007 GB, free: 7.277 MB / 0.7637 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.0006888/0.961, allocations: 344.7 kB / 1.008 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.9613, allocations: 63.25 kB / 1.008 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/0.968, allocations: 2.116 MB / 1.01 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.968, allocations: 12 kB / 1.01 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.9681, allocations: 4 kB / 1.01 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.9681, allocations: 3.984 kB / 1.01 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.9778, allocations: 3.799 MB / 1.014 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.9779, allocations: 4 kB / 1.014 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.9794, allocations: 340 kB / 1.014 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.9808, allocations: 378 kB / 1.014 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.9809, allocations: 31.97 kB / 1.014 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/0.9859, allocations: 4.162 MB / 1.018 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.986, allocations: 12 kB / 1.018 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.9926, allocations: 2.534 MB / 1.021 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.9933, allocations: 276.1 kB / 1.021 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.9936, allocations: 16 kB / 1.021 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.9954, allocations: 263.5 kB / 1.021 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.9957, allocations: 59.86 kB / 1.021 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/0.9958, allocations: 39.97 kB / 1.022 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006115/0.9964, allocations: 366.8 kB / 1.022 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9964, allocations: 0 / 1.022 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00253/0.999, allocations: 424 kB / 1.022 GB, free: 7.461 MB / 0.7794 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.007601/1.007, allocations: 4.34 MB / 1.027 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0095/1.016, allocations: 3.411 MB / 1.03 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.016, allocations: 0 / 1.03 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.019, allocations: 1.224 MB / 1.031 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/1.021, allocations: 108.1 kB / 1.031 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/1.046, allocations: 13.05 MB / 1.044 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/1.046, allocations: 0.9953 MB / 1.045 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002023/1.048, allocations: 489.4 kB / 1.045 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/1.049, allocations: 243.3 kB / 1.046 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/1.049, allocations: 4 kB / 1.046 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/1.103, allocations: 18.81 MB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.103, allocations: 249.6 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.313, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat