Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",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.001224/0.001224, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.43/1.43, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.001044/0.001044, allocations: 96.55 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 7.938 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2934, allocations: 47.56 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0936/0.3871, allocations: 78.94 MB / 454.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.3874, allocations: 71.95 kB / 454.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0223/0.4097, allocations: 8.063 MB / 463 MB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4098, allocations: 0 / 463 MB, free: 9.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.554e-05/0.4098, allocations: 16.2 kB / 463 MB, free: 9.512 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001676/0.4115, allocations: 0.783 MB / 463.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4116, allocations: 8.031 kB / 463.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/0.4118, allocations: 107.7 kB / 463.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.412, allocations: 67.25 kB / 464 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.4126, allocations: 362.6 kB / 464.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.4126, allocations: 37.31 kB / 464.4 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.4127, allocations: 55.91 kB / 464.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008637/0.4136, allocations: 495.4 kB / 464.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.4136, allocations: 0 / 464.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.4137, allocations: 32 kB / 464.9 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4137, allocations: 12 kB / 464.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.4144, allocations: 344.6 kB / 465.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.4173, allocations: 1.749 MB / 467 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.4177, allocations: 275.2 kB / 467.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4178, allocations: 7.938 kB / 467.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.4178, allocations: 34.56 kB / 467.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.4178, allocations: 0 / 467.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001853/0.4197, allocations: 0.9753 MB / 468.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4197, allocations: 85.06 kB / 468.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.4201, allocations: 336.8 kB / 468.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4202, allocations: 33.7 kB / 468.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.4204, allocations: 299.3 kB / 469 MB, free: 3.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.4205, allocations: 118.4 kB / 469.2 MB, free: 3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.4205, allocations: 8 kB / 469.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4206, allocations: 346.8 kB / 469.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.4208, allocations: 104.8 kB / 469.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4211, allocations: 202.7 kB / 469.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.4213, allocations: 131.5 kB / 469.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4214, allocations: 0 / 469.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008707/0.4222, allocations: 453.2 kB / 470.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4223, allocations: 7.125 kB / 470.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4223, allocations: 8 kB / 470.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003377/0.4226, allocations: 85.59 kB / 470.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.423, allocations: 79.89 kB / 470.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.4253, allocations: 2.878 MB / 473.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.4257, allocations: 23.84 kB / 473.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.4257, allocations: 12 kB / 473.5 MB, free: 14.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.426, allocations: 161.7 kB / 473.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4262, allocations: 47.53 kB / 473.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.4262, allocations: 47.52 kB / 473.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4263, allocations: 4 kB / 473.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4263, allocations: 7.953 kB / 473.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4263, allocations: 0 / 473.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.4278, allocations: 0.9482 MB / 474.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4278, allocations: 4 kB / 474.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.428, allocations: 43.97 kB / 474.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.4283, allocations: 89.48 kB / 474.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4283, allocations: 11.98 kB / 474.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.4307, allocations: 2.873 MB / 477.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.4307, allocations: 4.031 kB / 477.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.4317, allocations: 0.6457 MB / 478.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.4319, allocations: 116.7 kB / 478.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.432, allocations: 8 kB / 478.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.4323, allocations: 35.92 kB / 478.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.4324, allocations: 27.97 kB / 478.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.4325, allocations: 12 kB / 478.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003276/0.4328, allocations: 271.2 kB / 478.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 3.938 kB / 478.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006436/0.4335, allocations: 116 kB / 478.9 MB, free: 8.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.4348, allocations: 1.263 MB / 480.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.4357, allocations: 0.5171 MB / 480.7 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4357, allocations: 0 / 480.7 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.4363, allocations: 389.3 kB / 481.1 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4368, allocations: 59.89 kB / 481.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.4417, allocations: 4.323 MB / 485.5 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.4423, allocations: 0.8627 MB / 486.3 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.4425, allocations: 47.23 kB / 486.4 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.4428, allocations: 171.4 kB / 486.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4428, allocations: 0 / 486.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4664, allocations: 8.046 MB / 494.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.4667, allocations: 207.1 kB / 494.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.6, allocations: 0 / 494.8 MB, free: 8.402 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat