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.0009599/0.0009599, allocations: 91.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.00113/0.00113, allocations: 172.7 kB / 15.95 MB, free: 208 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.503/1.503, allocations: 223.2 MB / 240 MB, free: 5.434 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.502/2.502, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.000333, allocations: 11.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7513/0.7516, allocations: 142.3 MB / 0.9539 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.00515/0.7568, allocations: 4.591 MB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005367/0.7622, allocations: 3.749 MB / 0.962 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.7628, allocations: 15.03 kB / 0.962 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.7631, allocations: 88.5 kB / 0.9621 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.7646, allocations: 0.5009 MB / 0.9626 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.7657, allocations: 363.5 kB / 0.9629 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.7669, allocations: 1.142 MB / 0.964 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.768, allocations: 0.6582 MB / 0.9647 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.7686, allocations: 345.5 kB / 0.965 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.7693, allocations: 464.5 kB / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.7694, allocations: 31.72 kB / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.7705, allocations: 483.3 kB / 0.966 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.7709, allocations: 265.9 kB / 0.9662 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.7711, allocations: 141.8 kB / 0.9663 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.7723, allocations: 0.9528 MB / 0.9673 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7723, allocations: 5 kB / 0.9673 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7724, allocations: 0 / 0.9673 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.7724, allocations: 0 / 0.9673 GB, free: 14.29 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.001821/0.7742, allocations: 0.944 MB / 0.9682 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7743, allocations: 13.44 kB / 0.9682 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.7744, allocations: 116.2 kB / 0.9683 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008316/0.7827, allocations: 1.615 MB / 0.9699 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.7838, allocations: 0.5417 MB / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.7838, allocations: 49.7 kB / 0.9705 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.784, allocations: 59.52 kB / 0.9705 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.7884, allocations: 1.832 MB / 0.9723 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.7884, allocations: 2.031 kB / 0.9723 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.7885, allocations: 27.27 kB / 0.9724 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/0.7888, allocations: 114.5 kB / 0.9725 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006945/0.7957, allocations: 2.476 MB / 0.9749 GB, free: 9.809 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.008533/0.8043, allocations: 6.361 MB / 0.9811 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.8074, allocations: 1.355 MB / 0.9824 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.8097, allocations: 0.8948 MB / 0.9833 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003114/0.8128, allocations: 2.162 MB / 0.9854 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.8128, allocations: 42.56 kB / 0.9854 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.796e-06/0.8129, allocations: 3.938 kB / 0.9854 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02014/0.833, allocations: 6.633 MB / 0.9919 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.8331, allocations: 199.8 kB / 0.9921 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.8341, allocations: 0.5134 MB / 0.9926 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.8342, allocations: 41.7 kB / 0.9927 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.8345, allocations: 390.7 kB / 0.993 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.8348, allocations: 323.4 kB / 0.9933 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.8349, allocations: 24 kB / 0.9934 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.8352, allocations: 390.6 kB / 0.9937 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.8378, allocations: 0.9938 MB / 0.9947 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.8406, allocations: 1.287 MB / 0.996 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.8433, allocations: 1.083 MB / 0.997 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.8434, allocations: 4 kB / 0.997 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00923/0.8526, allocations: 3.329 MB / 1 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.8529, allocations: 341 kB / 1.001 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.853, allocations: 8 kB / 1.001 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/0.8572, allocations: 1.099 MB / 1.002 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.8593, allocations: 463.3 kB / 1.002 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.872, allocations: 9.197 MB / 1.011 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.8742, allocations: 299.5 kB / 1.011 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.8744, allocations: 64.52 kB / 1.011 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.8744, allocations: 6.031 kB / 1.011 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008445/0.8829, allocations: 3.012 MB / 1.014 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.8829, allocations: 8 kB / 1.014 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.8858, allocations: 0.7671 MB / 1.015 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/0.888, allocations: 483.2 kB / 1.016 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/0.8973, allocations: 6.931 MB / 1.022 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.8996, allocations: 291.5 kB / 1.023 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.8998, allocations: 63.95 kB / 1.023 GB, free: 7.469 MB / 0.7794 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 (124): * Single equations (assignments): 120 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007108/0.9005, allocations: 360.8 kB / 1.023 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.9007, allocations: 75.06 kB / 1.023 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009062/0.9098, allocations: 3.082 MB / 1.026 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.9099, allocations: 15.94 kB / 1.026 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.9099, allocations: 7.984 kB / 1.026 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.9099, allocations: 11.97 kB / 1.026 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.9208, allocations: 5.039 MB / 1.031 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.9209, allocations: 4 kB / 1.031 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.9224, allocations: 364 kB / 1.031 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.926, allocations: 0.9981 MB / 1.032 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.9261, allocations: 35.97 kB / 1.032 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009657/0.9358, allocations: 8.657 MB / 1.041 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9358, allocations: 4 kB / 1.041 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00823/0.944, allocations: 3.246 MB / 1.044 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/0.9447, allocations: 308.1 kB / 1.044 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.9449, allocations: 20 kB / 1.044 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.9464, allocations: 291.5 kB / 1.045 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.9467, allocations: 103.8 kB / 1.045 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.9468, allocations: 40.03 kB / 1.045 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004555/0.9473, allocations: 366.8 kB / 1.045 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.9473, allocations: 0 / 1.045 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001963/0.9493, allocations: 0.5039 MB / 1.046 GB, free: 15.14 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00829/0.9576, allocations: 3.834 MB / 1.049 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01139/0.969, allocations: 4.952 MB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.969, allocations: 4 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.9726, allocations: 1.737 MB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.9737, allocations: 117 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.9958, allocations: 9.189 MB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.9967, allocations: 1.04 MB / 1.066 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002089/0.9988, allocations: 498.4 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.9993, allocations: 267.3 kB / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of SimCode: time 1.844e-06/0.9993, allocations: 0 / 1.067 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/1.047, allocations: 26.19 MB / 1.092 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.047, allocations: 257 kB / 1.093 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.571, allocations: 0 / 1.093 GB, free: 14.77 MB / 0.8575 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