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.001522/0.001522, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001175/0.001174, allocations: 99.33 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004103, allocations: 11.98 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3397, allocations: 47.57 MB / 374.6 MB, free: 45.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4738, allocations: 81.03 MB / 455.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4741, allocations: 79.95 kB / 455.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08209/0.5562, allocations: 18.96 MB / 474.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5563, allocations: 0 / 474.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001291/0.5564, allocations: 31.98 kB / 474.7 MB, free: 12.41 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.005386/0.5618, allocations: 1.477 MB / 476.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.5619, allocations: 8.031 kB / 476.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006586/0.5626, allocations: 185 kB / 476.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.563, allocations: 138.4 kB / 476.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.5661, allocations: 0.9217 MB / 477.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.5663, allocations: 86.2 kB / 477.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.5667, allocations: 108 kB / 477.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.5714, allocations: 1.521 MB / 479.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.5715, allocations: 0 / 479.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.5718, allocations: 48 kB / 479.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.5718, allocations: 28 kB / 479.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.5761, allocations: 1.234 MB / 480.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.5889, allocations: 4.316 MB / 484.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.591, allocations: 1.317 MB / 486.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.5911, allocations: 4.438 kB / 486.1 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.5911, allocations: 39 kB / 486.1 MB, free: 500 kB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 4.589e-06/0.5912, allocations: 0 / 486.1 MB, free: 500 kB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002739/0.5939, allocations: 0.8769 MB / 487 MB, free: 15.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.594, allocations: 59.84 kB / 487.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.5957, allocations: 0.7297 MB / 487.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.5959, allocations: 37.7 kB / 487.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.5964, allocations: 0.5595 MB / 488.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.5967, allocations: 181.4 kB / 488.6 MB, free: 14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.5967, allocations: 8 kB / 488.6 MB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5969, allocations: 338.8 kB / 488.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008949/0.5978, allocations: 300.9 kB / 489.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.5988, allocations: 394.5 kB / 489.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5998, allocations: 365.9 kB / 490 MB, free: 12.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5998, allocations: 0 / 490 MB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002205/0.6021, allocations: 0.7679 MB / 490.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.6021, allocations: 8.938 kB / 490.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6022, allocations: 4.281 kB / 490.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.6022, allocations: 8 kB / 490.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.6034, allocations: 151.8 kB / 490.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.6035, allocations: 4 kB / 490.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.6043, allocations: 67.41 kB / 491 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.6043, allocations: 16 kB / 491 MB, free: 11.56 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.001104/0.6055, allocations: 473.3 kB / 491.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.6058, allocations: 71.16 kB / 491.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.6061, allocations: 95.08 kB / 491.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6061, allocations: 4 kB / 491.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6061, allocations: 0 / 491.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6061, allocations: 3.984 kB / 491.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/0.6113, allocations: 1.922 MB / 493.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.6114, allocations: 7.891 kB / 493.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6124, allocations: 119.9 kB / 493.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.6124, allocations: 12.03 kB / 493.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.6125, allocations: 8 kB / 493.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.6125, allocations: 7.984 kB / 493.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6125, allocations: 0 / 493.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.6154, allocations: 1.147 MB / 494.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.6159, allocations: 168.2 kB / 495 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6161, allocations: 12 kB / 495 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.6169, allocations: 59.94 kB / 495.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.617, allocations: 44.28 kB / 495.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.6171, allocations: 16 kB / 495.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.6184, allocations: 0.5732 MB / 495.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6185, allocations: 0 / 495.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001247/0.6197, allocations: 286.7 kB / 496 MB, free: 6.41 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.003469/0.6232, allocations: 1.914 MB / 497.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.6252, allocations: 0.6536 MB / 498.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6253, allocations: 0 / 498.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.6262, allocations: 327 kB / 498.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.6277, allocations: 163 kB / 499 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2821/0.9098, allocations: 7.577 MB / 0.4947 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.9111, allocations: 1.336 MB / 0.496 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/0.9119, allocations: 385.2 kB / 0.4964 GB, free: 101 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.9119, allocations: 0 / 0.4964 GB, free: 101 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.574/3.486, allocations: 19.19 MB / 0.5151 GB, free: 96.48 MB / 378.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