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.001211/0.001211, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 86.41 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.692e-05/4.719e-05, allocations: 4 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5376, allocations: 82.78 MB / 484.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.5379, allocations: 74.75 kB / 485 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04893/0.5868, allocations: 19.55 MB / 0.4927 GB, free: 4.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5869, allocations: 0 / 0.4927 GB, free: 4.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001194/0.587, allocations: 32 kB / 0.4927 GB, free: 4.672 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.003463/0.5905, allocations: 1.366 MB / 0.4941 GB, free: 3.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5905, allocations: 8.031 kB / 0.4941 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004789/0.591, allocations: 177.1 kB / 0.4942 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.5919, allocations: 186.3 kB / 0.4944 GB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.5939, allocations: 0.9063 MB / 0.4953 GB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.594, allocations: 86.2 kB / 0.4954 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.5942, allocations: 108 kB / 0.4955 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.5969, allocations: 1.475 MB / 0.4969 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5969, allocations: 1.594 kB / 0.4969 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.5971, allocations: 48 kB / 0.497 GB, free: 156 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.5971, allocations: 28 kB / 0.497 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.5992, allocations: 1.164 MB / 0.4981 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007939/0.6072, allocations: 4.309 MB / 0.5023 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6085, allocations: 1.288 MB / 0.5036 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.6091, allocations: 449.1 kB / 0.504 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.6092, allocations: 8.422 kB / 0.504 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.6092, allocations: 43 kB / 0.5041 GB, free: 8.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.6092, allocations: 0 / 0.5041 GB, free: 8.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001054/0.6103, allocations: 0.5928 MB / 0.5047 GB, free: 7.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.6104, allocations: 63.78 kB / 0.5047 GB, free: 7.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6115, allocations: 0.7259 MB / 0.5054 GB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.6116, allocations: 37.7 kB / 0.5055 GB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.612, allocations: 0.5454 MB / 0.506 GB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.6122, allocations: 181.4 kB / 0.5062 GB, free: 6.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.6122, allocations: 8 kB / 0.5062 GB, free: 6.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.6124, allocations: 387.3 kB / 0.5066 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.6129, allocations: 277 kB / 0.5068 GB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.6134, allocations: 370.6 kB / 0.5072 GB, free: 5.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.614, allocations: 347 kB / 0.5075 GB, free: 4.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.614, allocations: 0 / 0.5075 GB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001277/0.6153, allocations: 0.7733 MB / 0.5083 GB, free: 4.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.6153, allocations: 8 kB / 0.5083 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6153, allocations: 1.875 kB / 0.5083 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.6153, allocations: 12.28 kB / 0.5083 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.616, allocations: 147.8 kB / 0.5084 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.616, allocations: 4 kB / 0.5084 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.6166, allocations: 71.41 kB / 0.5085 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.6167, allocations: 23.95 kB / 0.5085 GB, free: 3.922 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.0002005/0.6169, allocations: 136.9 kB / 0.5086 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.6171, allocations: 71.16 kB / 0.5087 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.6173, allocations: 90.86 kB / 0.5088 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6173, allocations: 4 kB / 0.5088 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6174, allocations: 0 / 0.5088 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6174, allocations: 3.984 kB / 0.5088 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.6212, allocations: 1.876 MB / 0.5106 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.6212, allocations: 0 / 0.5106 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.6217, allocations: 119.9 kB / 0.5108 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.6218, allocations: 4 kB / 0.5108 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.6218, allocations: 15.98 kB / 0.5108 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.6218, allocations: 4 kB / 0.5108 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6218, allocations: 0 / 0.5108 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.6233, allocations: 1.084 MB / 0.5118 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.6236, allocations: 168.2 kB / 0.512 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.6238, allocations: 14.44 kB / 0.512 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.6243, allocations: 55.95 kB / 0.5121 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6244, allocations: 44.27 kB / 0.5121 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.6244, allocations: 16 kB / 0.5121 GB, free: 92 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008391/0.6253, allocations: 0.5655 MB / 0.5127 GB, free: 15.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6253, allocations: 0 / 0.5127 GB, free: 15.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008191/0.6261, allocations: 290.8 kB / 0.5129 GB, free: 15.24 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.001845/0.6279, allocations: 1.848 MB / 0.5148 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009544/0.6289, allocations: 0.603 MB / 0.5153 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6289, allocations: 0 / 0.5153 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.6293, allocations: 299 kB / 0.5156 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/0.6302, allocations: 163.3 kB / 0.5158 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.6346, allocations: 2.207 MB / 0.5179 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.6358, allocations: 1.366 MB / 0.5193 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000563/0.6363, allocations: 209.8 kB / 0.5195 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.6369, allocations: 387.3 kB / 0.5198 GB, free: 8.066 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6369, allocations: 0 / 0.5198 GB, free: 8.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.6731, allocations: 17.19 MB / 0.5366 GB, free: 7.199 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.6733, allocations: 159 kB / 0.5368 GB, free: 6.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.96, allocations: 0 / 0.5368 GB, free: 6.973 MB / 410.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