Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.001103/0.001103, allocations: 181.1 kB / 16.38 MB, free: 5.766 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.379/1.379, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 97.12 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002681, allocations: 8 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2209, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3279, allocations: 92.71 MB / 494.3 MB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.3281, allocations: 93.12 kB / 494.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3418/0.67, allocations: 74.47 MB / 0.5555 GB, free: 56.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.67, allocations: 0 / 0.5555 GB, free: 56.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002629/0.6703, allocations: 83.88 kB / 0.5556 GB, free: 56.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008153/0.6785, allocations: 3.229 MB / 0.5588 GB, free: 53.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6785, allocations: 12.03 kB / 0.5588 GB, free: 53.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/0.68, allocations: 433.7 kB / 0.5592 GB, free: 53.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.6816, allocations: 399.7 kB / 0.5596 GB, free: 52.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.6863, allocations: 2.182 MB / 0.5617 GB, free: 50.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6864, allocations: 225.8 kB / 0.5619 GB, free: 50.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006812/0.6871, allocations: 287.9 kB / 0.5622 GB, free: 49.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.6944, allocations: 4.117 MB / 0.5662 GB, free: 45.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.411e-05/0.6945, allocations: 0 / 0.5662 GB, free: 45.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/0.695, allocations: 124.3 kB / 0.5663 GB, free: 45.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.6951, allocations: 141.8 kB / 0.5665 GB, free: 45.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/0.7007, allocations: 3.193 MB / 0.5696 GB, free: 42.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.7185, allocations: 11.01 MB / 0.5803 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.7208, allocations: 2.623 MB / 0.5829 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.7211, allocations: 150.4 kB / 0.583 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.7211, allocations: 47.5 kB / 0.5831 GB, free: 27.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.226e-06/0.7211, allocations: 0 / 0.5831 GB, free: 27.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008666/0.7298, allocations: 5.671 MB / 0.5886 GB, free: 22.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.7299, allocations: 94.42 kB / 0.5887 GB, free: 21.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.7329, allocations: 1.71 MB / 0.5904 GB, free: 20.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.7332, allocations: 45.7 kB / 0.5904 GB, free: 20.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.7339, allocations: 1.326 MB / 0.5917 GB, free: 18.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.7343, allocations: 453.5 kB / 0.5922 GB, free: 18.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.7345, allocations: 28 kB / 0.5922 GB, free: 18.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7346, allocations: 365.9 kB / 0.5925 GB, free: 18.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.7357, allocations: 0.8198 MB / 0.5933 GB, free: 17.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.7369, allocations: 1.177 MB / 0.5945 GB, free: 15.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7382, allocations: 1.025 MB / 0.5955 GB, free: 14.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7382, allocations: 4 kB / 0.5955 GB, free: 14.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003627/0.7418, allocations: 2.545 MB / 0.598 GB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7419, allocations: 12 kB / 0.598 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.7419, allocations: 12 kB / 0.598 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/0.7429, allocations: 385.2 kB / 0.5984 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7441, allocations: 327.5 kB / 0.5987 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.7485, allocations: 4.366 MB / 0.6029 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.75, allocations: 87.89 kB / 0.603 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7501, allocations: 67.98 kB / 0.6031 GB, free: 6.906 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001721/0.7519, allocations: 1.044 MB / 0.6041 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/0.7525, allocations: 189.8 kB / 0.6043 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.7558, allocations: 2.211 MB / 0.6064 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7559, allocations: 12 kB / 0.6065 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.7559, allocations: 4 kB / 0.6065 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7559, allocations: 11.97 kB / 0.6065 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009651/0.7656, allocations: 5.181 MB / 0.6115 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.7656, allocations: 0 / 0.6115 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.7667, allocations: 223.7 kB / 0.6117 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.7677, allocations: 356.6 kB / 0.6121 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.7679, allocations: 27.98 kB / 0.6121 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005627/0.7735, allocations: 4.289 MB / 0.6163 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7735, allocations: 0 / 0.6163 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.7791, allocations: 3.301 MB / 0.6195 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.7805, allocations: 466.7 kB / 0.62 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005783/0.7811, allocations: 32.06 kB / 0.62 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7825, allocations: 99.89 kB / 0.6201 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.7828, allocations: 108.7 kB / 0.6202 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.783, allocations: 39.98 kB / 0.6202 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002861/0.7859, allocations: 1.327 MB / 0.6215 GB, free: 3.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7859, allocations: 0 / 0.6215 GB, free: 3.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002414/0.7883, allocations: 0.5702 MB / 0.6221 GB, free: 3.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005825/0.7941, allocations: 4.124 MB / 0.6261 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.798, allocations: 2.333 MB / 0.6284 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.798, allocations: 4.688 kB / 0.6284 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.8001, allocations: 1.344 MB / 0.6297 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.8024, allocations: 484.4 kB / 0.6302 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03259/0.835, allocations: 23.37 MB / 0.653 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/0.8375, allocations: 2.478 MB / 0.6554 GB, free: 4 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001875/0.8394, allocations: 483.5 kB / 0.6559 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.841, allocations: 1.034 MB / 0.6569 GB, free: 14.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.841, allocations: 0 / 0.6569 GB, free: 14.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2569/1.098, allocations: 49.65 MB / 0.7054 GB, free: 111.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.098, allocations: 228.8 kB / 0.7056 GB, free: 111.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.29, allocations: 0 / 0.7056 GB, free: 111.3 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat