Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009944/0.0009944, allocations: 202.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.53/1.53, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008707/0.000871, allocations: 91.56 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.893e-05, allocations: 4 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09604, allocations: 51.49 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4159, allocations: 80.8 MB / 476.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4162, allocations: 67.12 kB / 476.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02036/0.4366, allocations: 8.393 MB / 484.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4366, allocations: 0 / 484.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4366, allocations: 16 kB / 484.5 MB, free: 5.348 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.0009757/0.4376, allocations: 0.7253 MB / 485.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4377, allocations: 11.97 kB / 485.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.4379, allocations: 88.09 kB / 485.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4383, allocations: 361.1 kB / 485.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4384, allocations: 16 kB / 485.7 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4384, allocations: 28 kB / 485.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004115/0.4388, allocations: 273.8 kB / 486 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.4394, allocations: 379.8 kB / 486.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4394, allocations: 0 / 486.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.4394, allocations: 0 / 486.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4394, allocations: 15.98 kB / 486.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.4415, allocations: 1.615 MB / 488 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.4418, allocations: 250.9 kB / 488.3 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.442, allocations: 122.2 kB / 488.4 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.442, allocations: 4 kB / 488.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.442, allocations: 42.48 kB / 488.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.442, allocations: 4 kB / 488.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001094/0.4431, allocations: 0.6991 MB / 489.1 MB, free: 1.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.4432, allocations: 81.11 kB / 489.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4434, allocations: 301.2 kB / 489.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.4435, allocations: 25.7 kB / 489.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4436, allocations: 290.1 kB / 489.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.4436, allocations: 109.1 kB / 489.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.4436, allocations: 224 / 489.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.4437, allocations: 347.7 kB / 490.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4438, allocations: 84.84 kB / 490.4 MB, free: 148 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.444, allocations: 169.4 kB / 490.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4442, allocations: 112 kB / 490.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4442, allocations: 0 / 490.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006148/0.4448, allocations: 378.5 kB / 491 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4448, allocations: 8 kB / 491 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4448, allocations: 3.953 kB / 491 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.4452, allocations: 90 kB / 491.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.4455, allocations: 79.22 kB / 491.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.4478, allocations: 2.735 MB / 493.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4481, allocations: 15.84 kB / 493.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.4481, allocations: 15.5 kB / 493.9 MB, free: 12.61 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 () * 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.0001074/0.4482, allocations: 116.8 kB / 494.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005203/0.4487, allocations: 293.8 kB / 494.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.4488, allocations: 43.48 kB / 494.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.4489, allocations: 39.36 kB / 494.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4489, allocations: 4 kB / 494.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.4489, allocations: 0 / 494.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4489, allocations: 0 / 494.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4501, allocations: 0.8199 MB / 495.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4501, allocations: 0 / 495.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.4503, allocations: 51.91 kB / 495.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.4506, allocations: 85.94 kB / 495.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4506, allocations: 0 / 495.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.4526, allocations: 2.751 MB / 498.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4526, allocations: 0 / 498.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.4533, allocations: 0.5567 MB / 498.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4534, allocations: 115.8 kB / 498.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.4535, allocations: 4 kB / 498.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.4538, allocations: 31.94 kB / 498.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.4539, allocations: 27.78 kB / 498.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.454, allocations: 15.05 kB / 498.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.4542, allocations: 234.2 kB / 499.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4542, allocations: 3.938 kB / 499.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005999/0.4548, allocations: 107.9 kB / 499.2 MB, free: 7.539 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 () * 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.001083/0.4559, allocations: 1.178 MB / 0.4887 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007719/0.4567, allocations: 452.3 kB / 0.4891 GB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4567, allocations: 4 kB / 0.4891 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.4572, allocations: 365.2 kB / 0.4895 GB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.4576, allocations: 41.06 kB / 0.4895 GB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4592, allocations: 0.7818 MB / 0.4903 GB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.4596, allocations: 0.8509 MB / 0.4911 GB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.4598, allocations: 43.38 kB / 0.4911 GB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.46, allocations: 168.3 kB / 0.4913 GB, free: 3.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.46, allocations: 0 / 0.4913 GB, free: 3.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.4876, allocations: 6.913 MB / 0.498 GB, free: 13.11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.4879, allocations: 144 kB / 0.4982 GB, free: 12.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.489, allocations: 0 / 0.4982 GB, free: 12.91 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat