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.001013/0.001013, allocations: 202.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008925/0.0008925, allocations: 99.78 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 8 kB / 358 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1808, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08479/0.2656, allocations: 81.54 MB / 491 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.2659, allocations: 71.97 kB / 491.1 MB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.2872, allocations: 8.48 MB / 499.6 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2872, allocations: 4 kB / 499.6 MB, free: 480 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.2873, allocations: 8 kB / 499.6 MB, free: 472 kB / 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.001335/0.2886, allocations: 0.7908 MB / 0.4887 GB, free: 15.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2887, allocations: 8.031 kB / 0.4887 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.2888, allocations: 103.7 kB / 0.4888 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.2891, allocations: 87.22 kB / 0.4889 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.2896, allocations: 366.7 kB / 0.4892 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.2896, allocations: 37.31 kB / 0.4892 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.2897, allocations: 51.94 kB / 0.4893 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.2905, allocations: 0.4955 MB / 0.4898 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2905, allocations: 0 / 0.4898 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2905, allocations: 20 kB / 0.4898 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2906, allocations: 16 kB / 0.4898 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.2912, allocations: 340.7 kB / 0.4901 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.2937, allocations: 1.756 MB / 0.4918 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.2942, allocations: 267.8 kB / 0.4921 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2942, allocations: 7.984 kB / 0.4921 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2943, allocations: 46.55 kB / 0.4922 GB, free: 11.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/0.2943, allocations: 3.984 kB / 0.4922 GB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001717/0.296, allocations: 0.969 MB / 0.4931 GB, free: 10.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.296, allocations: 89 kB / 0.4932 GB, free: 10.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.2964, allocations: 344.8 kB / 0.4935 GB, free: 10.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2964, allocations: 33.7 kB / 0.4935 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.2966, allocations: 287.3 kB / 0.4938 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.2967, allocations: 118.4 kB / 0.4939 GB, free: 9.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.2967, allocations: 8 kB / 0.4939 GB, free: 9.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2968, allocations: 346.8 kB / 0.4943 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.297, allocations: 108.8 kB / 0.4944 GB, free: 9.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.2973, allocations: 194.8 kB / 0.4946 GB, free: 9.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.2975, allocations: 134.3 kB / 0.4947 GB, free: 9.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2975, allocations: 4 kB / 0.4947 GB, free: 9.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007515/0.2983, allocations: 457.3 kB / 0.4951 GB, free: 8.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2983, allocations: 4 kB / 0.4951 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2983, allocations: 7.984 kB / 0.4951 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.2986, allocations: 85.75 kB / 0.4952 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.299, allocations: 79.84 kB / 0.4953 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.3012, allocations: 2.865 MB / 0.4981 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3015, allocations: 23.84 kB / 0.4981 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3015, allocations: 16 kB / 0.4981 GB, free: 5.289 MB / 378.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.0002124/0.3018, allocations: 169.8 kB / 0.4983 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.3019, allocations: 43.53 kB / 0.4983 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.3019, allocations: 43.47 kB / 0.4984 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3019, allocations: 4 kB / 0.4984 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.302, allocations: 3.953 kB / 0.4984 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.302, allocations: 4 kB / 0.4984 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3033, allocations: 0.9443 MB / 0.4993 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3033, allocations: 4 kB / 0.4993 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3035, allocations: 55.91 kB / 0.4994 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.3038, allocations: 81.53 kB / 0.4994 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.3038, allocations: 8 kB / 0.4995 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.306, allocations: 2.873 MB / 0.5023 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3061, allocations: 4.125 kB / 0.5023 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.3069, allocations: 0.623 MB / 0.5029 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1509/0.4578, allocations: 113.7 kB / 0.503 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.4579, allocations: 10.23 kB / 0.503 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.4583, allocations: 37.44 kB / 0.503 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.4584, allocations: 24.23 kB / 0.5031 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.4584, allocations: 11.34 kB / 0.5031 GB, free: 93.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.4587, allocations: 267.7 kB / 0.5033 GB, free: 93.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4587, allocations: 1.375 kB / 0.5033 GB, free: 93.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006198/0.4594, allocations: 120.8 kB / 0.5034 GB, free: 93.18 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 () * 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.001113/0.4605, allocations: 1.261 MB / 0.5047 GB, free: 92.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.4613, allocations: 0.5163 MB / 0.5052 GB, free: 92.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4613, allocations: 0.5312 kB / 0.5052 GB, free: 92.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.4618, allocations: 400.2 kB / 0.5056 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4622, allocations: 54.67 kB / 0.5056 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.4658, allocations: 4.338 MB / 0.5098 GB, free: 89.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.466, allocations: 0.8578 MB / 0.5107 GB, free: 88.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.4662, allocations: 42.27 kB / 0.5107 GB, free: 88.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4664, allocations: 171.9 kB / 0.5109 GB, free: 88.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4664, allocations: 4 kB / 0.5109 GB, free: 88.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.485, allocations: 8.05 MB / 0.5187 GB, free: 87.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.4852, allocations: 203 kB / 0.5189 GB, free: 87.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.345, allocations: 3.125 kB / 0.5189 GB, free: 87.44 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