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.0009985/0.0009985, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.000974, allocations: 88.09 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.283e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 47.58 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4692, allocations: 78.45 MB / 441.6 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4694, allocations: 66.16 kB / 441.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.4903, allocations: 7.987 MB / 449.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4903, allocations: 4 kB / 449.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.4904, allocations: 11.98 kB / 449.7 MB, free: 10.2 MB / 330.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.001083/0.4915, allocations: 0.7238 MB / 450.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4915, allocations: 8.031 kB / 450.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4916, allocations: 67.25 kB / 450.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4921, allocations: 353.8 kB / 450.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.4922, allocations: 16 kB / 450.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.4922, allocations: 31.5 kB / 450.9 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004653/0.4927, allocations: 266.4 kB / 451.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.4933, allocations: 385 kB / 451.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4934, allocations: 8.156 kB / 451.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4934, allocations: 0 / 451.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4934, allocations: 15.94 kB / 451.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.4959, allocations: 1.623 MB / 453.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.4963, allocations: 231.5 kB / 453.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.4965, allocations: 122.8 kB / 453.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.4965, allocations: 11.98 kB / 453.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4966, allocations: 37.78 kB / 453.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.452e-06/0.4966, allocations: 0 / 453.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001399/0.498, allocations: 0.7071 MB / 454.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4981, allocations: 81.11 kB / 454.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.4984, allocations: 300.2 kB / 454.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4985, allocations: 29.7 kB / 454.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.4986, allocations: 298.4 kB / 454.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.4987, allocations: 100.3 kB / 455 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.4987, allocations: 4 kB / 455 MB, free: 5.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4989, allocations: 348.5 kB / 455.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.499, allocations: 79.05 kB / 455.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4992, allocations: 166 kB / 455.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4994, allocations: 115.9 kB / 455.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4994, allocations: 0 / 455.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006491/0.5001, allocations: 371.8 kB / 456.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5001, allocations: 12 kB / 456.1 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5001, allocations: 7.953 kB / 456.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/0.5004, allocations: 78.91 kB / 456.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.5008, allocations: 79.16 kB / 456.3 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.5032, allocations: 2.747 MB / 459 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.5035, allocations: 15.84 kB / 459 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.5036, allocations: 15.62 kB / 459.1 MB, free: 1.445 MB / 330.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.0001191/0.5037, allocations: 112.9 kB / 459.2 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005157/0.5042, allocations: 293.2 kB / 459.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.5043, allocations: 43.56 kB / 459.5 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.5044, allocations: 36.11 kB / 459.5 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5044, allocations: 4 kB / 459.5 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5044, allocations: 4 kB / 459.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5044, allocations: 0 / 459.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5055, allocations: 0.8262 MB / 460.4 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5055, allocations: 0 / 460.4 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.5057, allocations: 44.16 kB / 460.4 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.5059, allocations: 88.08 kB / 460.5 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.506, allocations: 4 kB / 460.5 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.508, allocations: 2.739 MB / 463.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.508, allocations: 192 / 463.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.5088, allocations: 0.5552 MB / 463.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5089, allocations: 120.6 kB / 463.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.509, allocations: 3.984 kB / 463.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.5093, allocations: 39.88 kB / 464 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.5094, allocations: 19.72 kB / 464 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.5094, allocations: 15.73 kB / 464 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002537/0.5097, allocations: 231.2 kB / 464.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5097, allocations: 0 / 464.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006022/0.5103, allocations: 108 kB / 464.3 MB, free: 12.38 MB / 346.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.001111/0.5114, allocations: 1.182 MB / 465.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.5122, allocations: 474.9 kB / 466 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5122, allocations: 0 / 466 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.5127, allocations: 352.4 kB / 466.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.5131, allocations: 35.72 kB / 466.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.5147, allocations: 0.7783 MB / 467.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.5152, allocations: 0.8509 MB / 468 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.5154, allocations: 43.25 kB / 468 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.5156, allocations: 165.1 kB / 468.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5156, allocations: 0 / 468.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.545, allocations: 6.928 MB / 475.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.5453, allocations: 145.6 kB / 475.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.532, allocations: 0 / 475.2 MB, free: 1.645 MB / 346.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