Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 201.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000828/0.000828, allocations: 105.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002142, allocations: 12 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2135, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09727/0.3108, allocations: 82.84 MB / 492.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.311, allocations: 74.17 kB / 492.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0477/0.3588, allocations: 19.51 MB / 0.4999 GB, free: 4.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3588, allocations: 11.94 kB / 0.4999 GB, free: 4.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.509e-05/0.3589, allocations: 28 kB / 0.5 GB, free: 3.992 MB / 378.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.003637/0.3625, allocations: 1.504 MB / 0.5014 GB, free: 2.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.3626, allocations: 12.03 kB / 0.5014 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005794/0.3632, allocations: 181 kB / 0.5016 GB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.3642, allocations: 178.4 kB / 0.5018 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.3664, allocations: 0.91 MB / 0.5027 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.3665, allocations: 90.2 kB / 0.5028 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.3667, allocations: 108 kB / 0.5029 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1904/0.5572, allocations: 1.507 MB / 0.5043 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.5572, allocations: 0.6562 kB / 0.5043 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.5574, allocations: 48.69 kB / 0.5044 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.5574, allocations: 26.72 kB / 0.5044 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5595, allocations: 1.223 MB / 0.5056 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.5662, allocations: 4.305 MB / 0.5098 GB, free: 85.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.5671, allocations: 1.319 MB / 0.5111 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.5671, allocations: 4.562 kB / 0.5111 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.5671, allocations: 41.44 kB / 0.5111 GB, free: 84.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 3.096e-06/0.5671, allocations: 3.562 kB / 0.5111 GB, free: 84.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.00116/0.5683, allocations: 0.8807 MB / 0.512 GB, free: 84.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.5683, allocations: 58.47 kB / 0.5121 GB, free: 84.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.569, allocations: 0.7324 MB / 0.5128 GB, free: 84.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.569, allocations: 36.39 kB / 0.5128 GB, free: 84.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.5693, allocations: 0.5414 MB / 0.5133 GB, free: 84.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.5694, allocations: 179.2 kB / 0.5135 GB, free: 84.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5694, allocations: 10.91 kB / 0.5135 GB, free: 84.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.5695, allocations: 384 kB / 0.5139 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.5698, allocations: 307 kB / 0.5142 GB, free: 83.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.5702, allocations: 391.6 kB / 0.5145 GB, free: 83.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.5706, allocations: 364.8 kB / 0.5149 GB, free: 83.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5706, allocations: 6.094 kB / 0.5149 GB, free: 83.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009231/0.5716, allocations: 0.817 MB / 0.5157 GB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5716, allocations: 10.5 kB / 0.5157 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5716, allocations: 0 / 0.5157 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5716, allocations: 7.875 kB / 0.5157 GB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.5722, allocations: 145.7 kB / 0.5159 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5722, allocations: 11.73 kB / 0.5159 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.5725, allocations: 70.09 kB / 0.5159 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5726, allocations: 19.38 kB / 0.516 GB, free: 83.09 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 () * Number of clocked 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.000439/0.573, allocations: 466.2 kB / 0.5164 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.5731, allocations: 73.41 kB / 0.5165 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.5733, allocations: 88.66 kB / 0.5166 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5733, allocations: 3.906 kB / 0.5166 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5733, allocations: 6.594 kB / 0.5166 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5733, allocations: 10.88 kB / 0.5166 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.5755, allocations: 1.918 MB / 0.5184 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5755, allocations: 0 / 0.5184 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.576, allocations: 119.6 kB / 0.5186 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.576, allocations: 7.812 kB / 0.5186 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.576, allocations: 11.88 kB / 0.5186 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.576, allocations: 0 / 0.5186 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.576, allocations: 3.875 kB / 0.5186 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5772, allocations: 1.146 MB / 0.5197 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5773, allocations: 173.9 kB / 0.5199 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.5774, allocations: 11.97 kB / 0.5199 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.5778, allocations: 53.77 kB / 0.5199 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.5779, allocations: 43.48 kB / 0.52 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.5779, allocations: 14.31 kB / 0.52 GB, free: 81.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005228/0.5784, allocations: 0.5754 MB / 0.5205 GB, free: 80.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5784, allocations: 0 / 0.5205 GB, free: 80.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005539/0.579, allocations: 284.7 kB / 0.5208 GB, free: 80.87 MB / 378.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 () * Number of clocked 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.00133/0.5803, allocations: 1.916 MB / 0.5227 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007636/0.5811, allocations: 0.6491 MB / 0.5233 GB, free: 79.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5811, allocations: 0 / 0.5233 GB, free: 79.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.5815, allocations: 323.7 kB / 0.5236 GB, free: 79.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.5821, allocations: 166.1 kB / 0.5238 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.5887, allocations: 7.589 MB / 0.5312 GB, free: 74.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.5894, allocations: 1.36 MB / 0.5325 GB, free: 73.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004541/0.5899, allocations: 215.9 kB / 0.5327 GB, free: 73.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.5903, allocations: 384.7 kB / 0.5331 GB, free: 73.12 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5903, allocations: 0 / 0.5331 GB, free: 73.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.6167, allocations: 17.24 MB / 0.5499 GB, free: 57.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.6169, allocations: 187 kB / 0.5501 GB, free: 57.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.7, allocations: 0 / 0.5501 GB, free: 57.45 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat