Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.152e-05, allocations: 8 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09541, allocations: 47.57 MB / 369.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5008, allocations: 80.94 MB / 450.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5012, allocations: 73.94 kB / 450.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08346/0.5847, allocations: 19.01 MB / 469.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5847, allocations: 0 / 469.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.5849, allocations: 31.94 kB / 469.2 MB, free: 10.98 MB / 346.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.004833/0.5897, allocations: 1.342 MB / 470.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5898, allocations: 12.03 kB / 470.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006289/0.5904, allocations: 177.1 kB / 470.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004682/0.5909, allocations: 142.3 kB / 470.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.5941, allocations: 0.9063 MB / 471.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/0.5942, allocations: 86.2 kB / 471.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.5946, allocations: 112 kB / 472 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.5988, allocations: 1.486 MB / 473.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.5989, allocations: 0 / 473.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.5991, allocations: 52 kB / 473.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.5992, allocations: 31.94 kB / 473.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.6027, allocations: 1.172 MB / 474.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.6155, allocations: 4.318 MB / 479 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.6175, allocations: 1.294 MB / 480.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.6187, allocations: 446 kB / 480.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.6188, allocations: 8.422 kB / 480.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.6189, allocations: 43 kB / 480.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.737e-06/0.6189, allocations: 0 / 480.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001672/0.6206, allocations: 0.5889 MB / 481.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.6207, allocations: 55.84 kB / 481.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.6223, allocations: 0.7259 MB / 482.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.6225, allocations: 33.7 kB / 482.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.623, allocations: 0.5595 MB / 482.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.6233, allocations: 177.4 kB / 483 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.6233, allocations: 12 kB / 483 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6235, allocations: 338.8 kB / 483.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.6242, allocations: 280.9 kB / 483.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.625, allocations: 370.5 kB / 483.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.6258, allocations: 343.1 kB / 484.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6258, allocations: 0 / 484.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001743/0.6276, allocations: 0.7327 MB / 485 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6276, allocations: 4 kB / 485 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6276, allocations: 4 kB / 485 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.6277, allocations: 4 kB / 485 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6289, allocations: 151.8 kB / 485.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.629, allocations: 8.281 kB / 485.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.6297, allocations: 67.5 kB / 485.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.6298, allocations: 27.95 kB / 485.3 MB, free: 10.33 MB / 362.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.000205/0.6301, allocations: 136.6 kB / 485.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6303, allocations: 79.06 kB / 485.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.6305, allocations: 86.86 kB / 485.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.6306, allocations: 4 kB / 485.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6306, allocations: 4 kB / 485.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.6306, allocations: 3.984 kB / 485.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.6354, allocations: 1.883 MB / 487.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6355, allocations: 4 kB / 487.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6365, allocations: 119.9 kB / 487.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.6365, allocations: 4.094 kB / 487.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.6366, allocations: 12 kB / 487.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.6366, allocations: 0 / 487.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6366, allocations: 7.938 kB / 487.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.6389, allocations: 1.081 MB / 488.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.6393, allocations: 172.3 kB / 488.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6395, allocations: 8 kB / 488.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.6403, allocations: 55.95 kB / 488.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6404, allocations: 40.33 kB / 489 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/0.6405, allocations: 19.94 kB / 489 MB, free: 6.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.6417, allocations: 0.5655 MB / 489.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6418, allocations: 0 / 489.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00107/0.6428, allocations: 290.7 kB / 489.8 MB, free: 5.637 MB / 362.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.002745/0.6456, allocations: 1.844 MB / 491.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.6471, allocations: 0.6069 MB / 492.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6472, allocations: 3.938 kB / 492.3 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.6478, allocations: 302.3 kB / 492.6 MB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6493, allocations: 157.8 kB / 492.7 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.6553, allocations: 2.197 MB / 494.9 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.6568, allocations: 1.34 MB / 496.3 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/0.6578, allocations: 395.2 kB / 496.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6578, allocations: 0 / 496.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.553, allocations: 19.26 MB / 0.5038 GB, free: 11.39 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat