Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008515/0.0008515, allocations: 100.8 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.846e-05, allocations: 0 / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.506, allocations: 81.88 MB / 477.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5063, allocations: 69.41 kB / 477.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04524/0.5516, allocations: 18.87 MB / 496.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5517, allocations: 0 / 496.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001316/0.5518, allocations: 24 kB / 496.1 MB, free: 11.35 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.003556/0.5554, allocations: 1.349 MB / 497.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.5554, allocations: 12.03 kB / 497.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.5563, allocations: 170.4 kB / 497.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.558, allocations: 0.852 MB / 498.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.5581, allocations: 39.95 kB / 498.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.5584, allocations: 66.92 kB / 498.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002065/0.5605, allocations: 1.102 MB / 499.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.5627, allocations: 1.292 MB / 0.4892 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5628, allocations: 3.938 kB / 0.4892 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.5629, allocations: 4 kB / 0.4892 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5629, allocations: 28 kB / 0.4893 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.5703, allocations: 4.035 MB / 0.4932 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.5717, allocations: 1.267 MB / 0.4944 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.5724, allocations: 422.6 kB / 0.4948 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.5724, allocations: 4.438 kB / 0.4949 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5725, allocations: 39 kB / 0.4949 GB, free: 2.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.644e-06/0.5725, allocations: 0 / 0.4949 GB, free: 2.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002875/0.5753, allocations: 1.548 MB / 0.4964 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5754, allocations: 59.84 kB / 0.4965 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.5765, allocations: 0.6732 MB / 0.4971 GB, free: 15.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5765, allocations: 25.7 kB / 0.4971 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.5769, allocations: 0.5414 MB / 0.4977 GB, free: 15.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.5771, allocations: 169.5 kB / 0.4978 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.5771, allocations: 0 / 0.4978 GB, free: 15.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5773, allocations: 382.8 kB / 0.4982 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.5777, allocations: 272.9 kB / 0.4985 GB, free: 14.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.5781, allocations: 374.2 kB / 0.4988 GB, free: 14.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.5785, allocations: 329.9 kB / 0.4991 GB, free: 13.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5786, allocations: 3.953 kB / 0.4991 GB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00125/0.5798, allocations: 0.8227 MB / 0.4999 GB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5798, allocations: 4 kB / 0.4999 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5799, allocations: 4 kB / 0.4999 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.5802, allocations: 113 kB / 0.5001 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.5807, allocations: 127.8 kB / 0.5002 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.5831, allocations: 2.087 MB / 0.5022 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.5836, allocations: 20.05 kB / 0.5022 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.5836, allocations: 27.94 kB / 0.5023 GB, free: 10.54 MB / 378.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.0001541/0.5838, allocations: 116.8 kB / 0.5024 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001105/0.5849, allocations: 0.6559 MB / 0.503 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.5851, allocations: 71.16 kB / 0.5031 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.5854, allocations: 82.61 kB / 0.5032 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5854, allocations: 4 kB / 0.5032 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5854, allocations: 5.688 kB / 0.5032 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.5854, allocations: 7.938 kB / 0.5032 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.589, allocations: 1.789 MB / 0.5049 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.589, allocations: 7.969 kB / 0.5049 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.5894, allocations: 91.89 kB / 0.505 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.5897, allocations: 104.8 kB / 0.5051 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.5897, allocations: 4 kB / 0.5051 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.5919, allocations: 2.04 MB / 0.5071 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5919, allocations: 0 / 0.5071 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.5934, allocations: 1.173 MB / 0.5083 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.5938, allocations: 164.3 kB / 0.5084 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5939, allocations: 4 kB / 0.5084 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.5944, allocations: 43.95 kB / 0.5085 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5945, allocations: 48.38 kB / 0.5085 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.5946, allocations: 12 kB / 0.5085 GB, free: 3.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008492/0.5954, allocations: 0.5303 MB / 0.509 GB, free: 3.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5954, allocations: 0 / 0.509 GB, free: 3.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001039/0.5965, allocations: 195.9 kB / 0.5092 GB, free: 3.121 MB / 378.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.00199/0.5985, allocations: 2.054 MB / 0.5112 GB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.5997, allocations: 0.7477 MB / 0.512 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5998, allocations: 0 / 0.512 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.6004, allocations: 455 kB / 0.5124 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.6013, allocations: 136.7 kB / 0.5125 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.6056, allocations: 2.058 MB / 0.5145 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.6069, allocations: 1.358 MB / 0.5159 GB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.6074, allocations: 177.5 kB / 0.516 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.6079, allocations: 375.3 kB / 0.5164 GB, free: 11.61 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6079, allocations: 0 / 0.5164 GB, free: 11.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.6543, allocations: 16.06 MB / 0.5321 GB, free: 11.73 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.6546, allocations: 146.5 kB / 0.5322 GB, free: 11.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.902, allocations: 0 / 0.5322 GB, free: 11.53 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat