Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.3 MB / 235.5 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 93.98 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.845e-05, allocations: 4 kB / 343.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4367, allocations: 80.65 MB / 475 MB, free: 6.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4369, allocations: 67.95 kB / 475.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02175/0.4587, allocations: 8.411 MB / 483.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4587, allocations: 4 kB / 483.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.4588, allocations: 12 kB / 483.5 MB, free: 14.32 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001074/0.4598, allocations: 0.7212 MB / 484.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4599, allocations: 12.03 kB / 484.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.4601, allocations: 103.7 kB / 484.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4602, allocations: 75.16 kB / 484.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4606, allocations: 351.5 kB / 484.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.4607, allocations: 37.31 kB / 484.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.4608, allocations: 59.89 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.4615, allocations: 479.8 kB / 485.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4615, allocations: 0 / 485.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.4616, allocations: 20 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4616, allocations: 15.94 kB / 485.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.4621, allocations: 317.3 kB / 485.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4647, allocations: 1.749 MB / 487.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.4651, allocations: 250.5 kB / 487.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.4653, allocations: 126.6 kB / 487.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4653, allocations: 4 kB / 487.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4654, allocations: 46.55 kB / 487.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.4654, allocations: 0 / 487.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001287/0.4667, allocations: 0.7611 MB / 488.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4667, allocations: 89.05 kB / 488.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.4671, allocations: 331.6 kB / 489 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4671, allocations: 29.7 kB / 489 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4672, allocations: 299.3 kB / 489.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.4673, allocations: 114.4 kB / 489.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.4673, allocations: 4 kB / 489.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4675, allocations: 350.8 kB / 489.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4676, allocations: 89.09 kB / 489.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.4678, allocations: 186.8 kB / 490 MB, free: 7.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.468, allocations: 116.5 kB / 490.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.468, allocations: 0 / 490.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006878/0.4687, allocations: 431.8 kB / 490.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4688, allocations: 4 kB / 490.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4688, allocations: 4 kB / 490.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.4691, allocations: 85.88 kB / 490.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.4694, allocations: 79.89 kB / 490.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.4716, allocations: 2.838 MB / 493.6 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4719, allocations: 19.91 kB / 493.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.472, allocations: 19.98 kB / 493.6 MB, free: 3.52 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.0001204/0.4721, allocations: 140.8 kB / 493.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.4722, allocations: 43.52 kB / 493.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.4723, allocations: 43.25 kB / 493.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4723, allocations: 0 / 493.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.4723, allocations: 4 kB / 493.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4723, allocations: 0 / 493.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4736, allocations: 0.9283 MB / 494.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4736, allocations: 0 / 494.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.4738, allocations: 47.91 kB / 494.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.4741, allocations: 81.66 kB / 494.9 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.4741, allocations: 4 kB / 494.9 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.4762, allocations: 2.857 MB / 497.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4762, allocations: 3.953 kB / 497.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.4769, allocations: 0.5813 MB / 498.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.477, allocations: 112.7 kB / 498.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4771, allocations: 8 kB / 498.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4774, allocations: 39.97 kB / 498.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.4775, allocations: 27.97 kB / 498.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4776, allocations: 4 kB / 498.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000309/0.4779, allocations: 270.1 kB / 498.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4779, allocations: 3.938 kB / 498.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.4785, allocations: 120 kB / 498.9 MB, free: 13.83 MB / 378.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.001275/0.4798, allocations: 1.225 MB / 0.4884 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008425/0.4807, allocations: 485 kB / 0.4889 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4807, allocations: 0.625 kB / 0.4889 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.4812, allocations: 385 kB / 0.4893 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.4816, allocations: 46.31 kB / 0.4893 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4833, allocations: 0.8258 MB / 0.4901 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4837, allocations: 0.8548 MB / 0.4909 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.4839, allocations: 47.28 kB / 0.491 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.4841, allocations: 171.5 kB / 0.4911 GB, free: 9.648 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4841, allocations: 3.938 kB / 0.4911 GB, free: 9.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.5055, allocations: 7.986 MB / 0.4989 GB, free: 1.832 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.5058, allocations: 191.5 kB / 0.4991 GB, free: 1.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.457, allocations: 0 / 0.4991 GB, free: 1.598 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat