Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.001185/0.001185, 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.402/1.402, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0008233/0.0008232, allocations: 78.31 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.713e-05, allocations: 8 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.41 MB / 394.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4366, allocations: 81.72 MB / 476.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4369, allocations: 71.97 kB / 476.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04693/0.4839, allocations: 19.02 MB / 495.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4839, allocations: 3.938 kB / 495.2 MB, free: 2.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.484, allocations: 24 kB / 495.2 MB, free: 2.492 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002218/0.4862, allocations: 1.345 MB / 496.5 MB, free: 1.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4863, allocations: 8.031 kB / 496.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.4865, allocations: 176.9 kB / 496.7 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.4867, allocations: 142.4 kB / 496.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.4881, allocations: 0.8453 MB / 497.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.4882, allocations: 86.16 kB / 497.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4884, allocations: 108 kB / 497.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.4907, allocations: 1.458 MB / 499.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4907, allocations: 0 / 499.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4909, allocations: 51.95 kB / 499.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.4909, allocations: 32 kB / 499.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4927, allocations: 1.164 MB / 0.4889 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/0.4991, allocations: 4.24 MB / 0.493 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.5003, allocations: 1.286 MB / 0.4942 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.5009, allocations: 450.5 kB / 0.4947 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.501, allocations: 4.438 kB / 0.4947 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.501, allocations: 39 kB / 0.4947 GB, free: 6.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.146e-05/0.501, allocations: 0 / 0.4947 GB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002609/0.5036, allocations: 1.631 MB / 0.4963 GB, free: 4.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.5037, allocations: 55.84 kB / 0.4964 GB, free: 4.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.5046, allocations: 0.7299 MB / 0.4971 GB, free: 4.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.5046, allocations: 33.7 kB / 0.4971 GB, free: 4.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.505, allocations: 0.5337 MB / 0.4976 GB, free: 3.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5052, allocations: 189.4 kB / 0.4978 GB, free: 3.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.5052, allocations: 12 kB / 0.4978 GB, free: 3.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5054, allocations: 386.8 kB / 0.4982 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.5058, allocations: 277 kB / 0.4985 GB, free: 2.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.5062, allocations: 387.4 kB / 0.4988 GB, free: 2.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.5067, allocations: 347 kB / 0.4992 GB, free: 1.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5067, allocations: 4 kB / 0.4992 GB, free: 1.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00122/0.508, allocations: 0.8695 MB / 0.5 GB, free: 1.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.508, allocations: 8.266 kB / 0.5 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.508, allocations: 11.98 kB / 0.5 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.5083, allocations: 104.8 kB / 0.5001 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.5089, allocations: 131.8 kB / 0.5003 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.511, allocations: 2.174 MB / 0.5024 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.5114, allocations: 28.05 kB / 0.5024 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5114, allocations: 23.98 kB / 0.5024 GB, free: 14.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5116, allocations: 133.8 kB / 0.5026 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5117, allocations: 71.16 kB / 0.5026 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.5119, allocations: 90.86 kB / 0.5027 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5119, allocations: 8 kB / 0.5027 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5119, allocations: 4 kB / 0.5027 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5119, allocations: 3.984 kB / 0.5027 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.5149, allocations: 1.987 MB / 0.5047 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.515, allocations: 7.953 kB / 0.5047 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5153, allocations: 91.83 kB / 0.5048 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.5156, allocations: 100.8 kB / 0.5049 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.5156, allocations: 16.16 kB / 0.5049 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.5175, allocations: 2.127 MB / 0.5069 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5175, allocations: 0 / 0.5069 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.519, allocations: 1.208 MB / 0.5081 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5193, allocations: 164.3 kB / 0.5083 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.5194, allocations: 12 kB / 0.5083 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.5198, allocations: 51.95 kB / 0.5083 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5199, allocations: 44.38 kB / 0.5084 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.5199, allocations: 15.98 kB / 0.5084 GB, free: 7.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007874/0.5207, allocations: 0.5733 MB / 0.509 GB, free: 7.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5207, allocations: 3.938 kB / 0.509 GB, free: 7.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000793/0.5215, allocations: 216 kB / 0.5092 GB, free: 7.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00193/0.5235, allocations: 2.113 MB / 0.5112 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.5248, allocations: 0.7738 MB / 0.512 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5248, allocations: 4.188 kB / 0.512 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.5254, allocations: 472.8 kB / 0.5124 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5265, allocations: 157.9 kB / 0.5126 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.5301, allocations: 2.116 MB / 0.5147 GB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/0.531, allocations: 1.364 MB / 0.516 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.5316, allocations: 189.8 kB / 0.5162 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.5321, allocations: 375.3 kB / 0.5165 GB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5321, allocations: 0 / 0.5165 GB, free: 15.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.5714, allocations: 17.81 MB / 0.5339 GB, free: 13.89 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.5716, allocations: 184.8 kB / 0.5341 GB, free: 13.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.77, allocations: 3.938 kB / 0.5341 GB, free: 13.65 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat