Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_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.001026/0.001027, allocations: 171.8 kB / 14.1 MB, free: 1.223 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.439/1.439, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000829/0.000829, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.544e-05, allocations: 7.938 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08494, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3649, allocations: 80.94 MB / 451.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.3652, allocations: 71.39 kB / 451.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04901/0.4142, allocations: 19 MB / 470.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4142, allocations: 4 kB / 470.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.363e-05/0.4143, allocations: 31.94 kB / 470.2 MB, free: 10.63 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.003039/0.4174, allocations: 1.345 MB / 471.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4174, allocations: 8.031 kB / 471.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004121/0.4179, allocations: 177.1 kB / 471.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.4183, allocations: 150.3 kB / 471.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.4202, allocations: 0.8985 MB / 472.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.4203, allocations: 86.2 kB / 472.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.4205, allocations: 111.9 kB / 472.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.423, allocations: 1.494 MB / 474.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.423, allocations: 0 / 474.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.4232, allocations: 48 kB / 474.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.4232, allocations: 32 kB / 474.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.4252, allocations: 1.172 MB / 475.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007038/0.4323, allocations: 4.314 MB / 480 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4334, allocations: 1.282 MB / 481.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.434, allocations: 453.8 kB / 481.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.4341, allocations: 12.42 kB / 481.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4341, allocations: 39 kB / 481.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.206e-06/0.4341, allocations: 0 / 481.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009687/0.4351, allocations: 0.5889 MB / 482.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4351, allocations: 55.84 kB / 482.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/0.4361, allocations: 0.7298 MB / 483.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.4362, allocations: 37.7 kB / 483.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.4366, allocations: 0.5376 MB / 483.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4367, allocations: 185.4 kB / 483.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4368, allocations: 8 kB / 483.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.437, allocations: 390.7 kB / 484.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.4374, allocations: 277 kB / 484.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.4378, allocations: 374.5 kB / 484.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.4383, allocations: 339.1 kB / 485.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4383, allocations: 0 / 485.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001158/0.4395, allocations: 0.779 MB / 486 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4395, allocations: 8 kB / 486 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4395, allocations: 0 / 486 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4396, allocations: 8 kB / 486 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.4402, allocations: 156.1 kB / 486.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.4402, allocations: 4 kB / 486.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.4407, allocations: 67.41 kB / 486.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.4408, allocations: 23.95 kB / 486.3 MB, free: 9.898 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.0001535/0.4409, allocations: 136.6 kB / 486.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4411, allocations: 71.16 kB / 486.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4413, allocations: 98.84 kB / 486.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4414, allocations: 12 kB / 486.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4414, allocations: 0 / 486.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4414, allocations: 0 / 486.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.4444, allocations: 1.883 MB / 488.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4444, allocations: 0 / 488.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.4449, allocations: 120 kB / 488.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.445, allocations: 7.938 kB / 488.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.445, allocations: 12 kB / 488.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.445, allocations: 4 kB / 488.6 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.445, allocations: 7.922 kB / 488.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4463, allocations: 1.081 MB / 489.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.4465, allocations: 160.2 kB / 489.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.4466, allocations: 12 kB / 489.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.4471, allocations: 59.94 kB / 489.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.4472, allocations: 36.34 kB / 490 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.4472, allocations: 16 kB / 490 MB, free: 6.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007235/0.4479, allocations: 0.5694 MB / 490.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4479, allocations: 3.938 kB / 490.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006754/0.4486, allocations: 290.8 kB / 490.8 MB, free: 5.199 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.001635/0.4503, allocations: 1.84 MB / 492.7 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.4511, allocations: 0.6107 MB / 493.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4511, allocations: 0 / 493.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.4515, allocations: 302.3 kB / 493.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.4523, allocations: 165.7 kB / 493.7 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.4562, allocations: 2.212 MB / 496 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/0.4572, allocations: 1.36 MB / 497.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.4577, allocations: 209.8 kB / 497.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.4582, allocations: 383.3 kB / 497.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4582, allocations: 0 / 497.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.4921, allocations: 17.22 MB / 0.503 GB, free: 12.77 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.4923, allocations: 151.8 kB / 0.5032 GB, free: 12.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.71, allocations: 0 / 0.5032 GB, free: 12.55 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat