Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.4 MB / 235.5 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.0009231, allocations: 95.67 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.649e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 50.42 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4433, allocations: 81.96 MB / 476.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4436, allocations: 71.97 kB / 476.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04811/0.4918, allocations: 19.47 MB / 495.8 MB, free: 1.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4918, allocations: 0 / 495.8 MB, free: 1.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.222e-05/0.4919, allocations: 24 kB / 495.9 MB, free: 1.812 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002243/0.4941, allocations: 1.361 MB / 497.2 MB, free: 412 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4942, allocations: 8.031 kB / 497.2 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.4944, allocations: 177.1 kB / 497.4 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.4946, allocations: 146.3 kB / 497.6 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.4963, allocations: 0.9059 MB / 498.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.4964, allocations: 86.25 kB / 498.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.4965, allocations: 108 kB / 498.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4987, allocations: 1.475 MB / 0.4884 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4988, allocations: 0 / 0.4884 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4989, allocations: 59.95 kB / 0.4885 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4989, allocations: 28 kB / 0.4885 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5006, allocations: 1.161 MB / 0.4896 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005973/0.5066, allocations: 4.291 MB / 0.4938 GB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.5076, allocations: 1.295 MB / 0.4951 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.5082, allocations: 454 kB / 0.4955 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.5083, allocations: 4.438 kB / 0.4955 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.5083, allocations: 43 kB / 0.4956 GB, free: 5.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.5083, allocations: 0 / 0.4956 GB, free: 5.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008606/0.5092, allocations: 0.5889 MB / 0.4961 GB, free: 5.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5092, allocations: 55.84 kB / 0.4962 GB, free: 5.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/0.5101, allocations: 0.7259 MB / 0.4969 GB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.5101, allocations: 33.7 kB / 0.4969 GB, free: 4.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.5104, allocations: 0.5415 MB / 0.4974 GB, free: 3.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.5106, allocations: 185.3 kB / 0.4976 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.5106, allocations: 12 kB / 0.4976 GB, free: 3.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5108, allocations: 390.7 kB / 0.498 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.5111, allocations: 277 kB / 0.4983 GB, free: 2.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.5115, allocations: 374.5 kB / 0.4986 GB, free: 2.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.512, allocations: 339 kB / 0.499 GB, free: 2.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.512, allocations: 7.953 kB / 0.499 GB, free: 2.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009792/0.513, allocations: 0.7713 MB / 0.4997 GB, free: 1.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.513, allocations: 4 kB / 0.4997 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.513, allocations: 4 kB / 0.4997 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.513, allocations: 4 kB / 0.4997 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.5136, allocations: 152.1 kB / 0.4999 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.5137, allocations: 11.94 kB / 0.4999 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.514, allocations: 67.41 kB / 0.4999 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.5141, allocations: 20 kB / 0.5 GB, free: 1.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.5142, allocations: 134.9 kB / 0.5001 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5143, allocations: 83.09 kB / 0.5002 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.5145, allocations: 90.86 kB / 0.5003 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5145, allocations: 4 kB / 0.5003 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5145, allocations: 4 kB / 0.5003 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5145, allocations: 3.984 kB / 0.5003 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.517, allocations: 1.875 MB / 0.5021 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.517, allocations: 7.984 kB / 0.5021 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.5175, allocations: 112 kB / 0.5022 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5176, allocations: 4 kB / 0.5022 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.5176, allocations: 16 kB / 0.5022 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.5176, allocations: 11.94 kB / 0.5022 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5176, allocations: 0 / 0.5022 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.5188, allocations: 1.084 MB / 0.5033 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.519, allocations: 164.2 kB / 0.5035 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.5191, allocations: 15.98 kB / 0.5035 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.5195, allocations: 55.95 kB / 0.5035 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5196, allocations: 36.39 kB / 0.5036 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.5197, allocations: 12 kB / 0.5036 GB, free: 13.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006341/0.5203, allocations: 0.5694 MB / 0.5041 GB, free: 12.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5203, allocations: 0 / 0.5041 GB, free: 12.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.521, allocations: 286.8 kB / 0.5044 GB, free: 12.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.5225, allocations: 1.851 MB / 0.5062 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.5233, allocations: 0.603 MB / 0.5068 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5233, allocations: 0 / 0.5068 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.5237, allocations: 302.3 kB / 0.5071 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.5244, allocations: 161.8 kB / 0.5072 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.5278, allocations: 2.21 MB / 0.5094 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/0.5286, allocations: 1.364 MB / 0.5107 GB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.5291, allocations: 213.7 kB / 0.5109 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.5296, allocations: 383.3 kB / 0.5113 GB, free: 5.223 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5296, allocations: 0 / 0.5113 GB, free: 5.223 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.5625, allocations: 17.19 MB / 0.5281 GB, free: 4.258 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.5627, allocations: 155.4 kB / 0.5282 GB, free: 4.035 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.739, allocations: 0 / 0.5282 GB, free: 4.035 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat