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.001382/0.001382, 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.48/1.48, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000925/0.0009251, allocations: 101.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.355e-05, allocations: 4 kB / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.5084, allocations: 82.11 MB / 477.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5087, allocations: 69.28 kB / 477.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04455/0.5532, allocations: 19.37 MB / 496.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5533, allocations: 0 / 496.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.883e-05/0.5534, allocations: 31.98 kB / 496.8 MB, free: 10.7 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.002477/0.5559, allocations: 1.361 MB / 498.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5559, allocations: 8.031 kB / 498.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.5565, allocations: 182.3 kB / 498.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5581, allocations: 0.9082 MB / 499.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5582, allocations: 39.95 kB / 499.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.5583, allocations: 64 kB / 499.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/0.56, allocations: 1.098 MB / 0.4888 GB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.562, allocations: 1.317 MB / 0.49 GB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5621, allocations: 0 / 0.49 GB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.5622, allocations: 4 kB / 0.4901 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.5622, allocations: 28 kB / 0.4901 GB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.5686, allocations: 4.087 MB / 0.4941 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.5698, allocations: 1.269 MB / 0.4953 GB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.5704, allocations: 433 kB / 0.4957 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.5705, allocations: 4.438 kB / 0.4957 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.5705, allocations: 46.92 kB / 0.4958 GB, free: 1.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.5706, allocations: 4 kB / 0.4958 GB, free: 1.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001018/0.5716, allocations: 0.5577 MB / 0.4963 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5716, allocations: 59.84 kB / 0.4964 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.5726, allocations: 0.6673 MB / 0.497 GB, free: 140 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.5726, allocations: 29.64 kB / 0.4971 GB, free: 104 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.573, allocations: 0.5414 MB / 0.4976 GB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5732, allocations: 175.3 kB / 0.4978 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.5732, allocations: 0 / 0.4978 GB, free: 15.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5734, allocations: 394.7 kB / 0.4981 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.5738, allocations: 265 kB / 0.4984 GB, free: 14.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.5742, allocations: 353.4 kB / 0.4987 GB, free: 14.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.5747, allocations: 329.9 kB / 0.499 GB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5747, allocations: 0 / 0.499 GB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001064/0.5758, allocations: 0.7363 MB / 0.4998 GB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5758, allocations: 8 kB / 0.4998 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5758, allocations: 0 / 0.4998 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5758, allocations: 8 kB / 0.4998 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.5764, allocations: 147.8 kB / 0.4999 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5765, allocations: 4 kB / 0.4999 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.5769, allocations: 51.53 kB / 0.5 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.5769, allocations: 24 kB / 0.5 GB, free: 13.05 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.0001456/0.5771, allocations: 112.8 kB / 0.5001 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007889/0.5779, allocations: 0.5616 MB / 0.5006 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.578, allocations: 71.16 kB / 0.5007 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5782, allocations: 82.59 kB / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5782, allocations: 5.594 kB / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5782, allocations: 0 / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5783, allocations: 0 / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.5811, allocations: 1.689 MB / 0.5024 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5811, allocations: 3.953 kB / 0.5024 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.5817, allocations: 119.9 kB / 0.5026 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5817, allocations: 0 / 0.5026 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.5817, allocations: 4 kB / 0.5026 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.5818, allocations: 7.984 kB / 0.5026 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5818, allocations: 8.031 kB / 0.5026 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.5832, allocations: 1.038 MB / 0.5036 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.5835, allocations: 168.2 kB / 0.5038 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/0.5836, allocations: 8 kB / 0.5038 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.584, allocations: 43.94 kB / 0.5038 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5841, allocations: 36.34 kB / 0.5038 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.5841, allocations: 23.94 kB / 0.5039 GB, free: 8.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007151/0.5849, allocations: 0.5147 MB / 0.5044 GB, free: 8.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5849, allocations: 11.5 kB / 0.5044 GB, free: 8.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.5858, allocations: 262.8 kB / 0.5046 GB, free: 8.164 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 () * 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.001731/0.5875, allocations: 1.801 MB / 0.5064 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.5884, allocations: 0.5776 MB / 0.5069 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5884, allocations: 0.5625 kB / 0.5069 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.5888, allocations: 293.4 kB / 0.5072 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.5896, allocations: 153.4 kB / 0.5074 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.5936, allocations: 2.147 MB / 0.5095 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.5947, allocations: 1.362 MB / 0.5108 GB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005832/0.5953, allocations: 205.5 kB / 0.511 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.5958, allocations: 387.3 kB / 0.5114 GB, free: 1.125 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5958, allocations: 0 / 0.5114 GB, free: 1.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04395/0.6398, allocations: 15.54 MB / 0.5265 GB, free: 1.742 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.6401, allocations: 140.6 kB / 0.5267 GB, free: 1.551 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.94, allocations: 0 / 0.5267 GB, free: 1.551 MB / 394.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