Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007934/0.0007936, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.0872, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.3952, allocations: 91.98 MB / 462.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.3955, allocations: 82.14 kB / 462.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1898/0.5853, allocations: 74.24 MB / 0.5238 GB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5854, allocations: 0 / 0.5238 GB, free: 7.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003048/0.5857, allocations: 83.88 kB / 0.5239 GB, free: 7.902 MB / 410.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.007921/0.5936, allocations: 2.88 MB / 0.5267 GB, free: 4.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5937, allocations: 8.031 kB / 0.5267 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/0.5951, allocations: 429.7 kB / 0.5272 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.597, allocations: 391.8 kB / 0.5275 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/0.6038, allocations: 2.178 MB / 0.5297 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.6042, allocations: 221.8 kB / 0.5299 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.6054, allocations: 280 kB / 0.5301 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2107/0.8161, allocations: 4.058 MB / 0.5341 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.8162, allocations: 0 / 0.5341 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003463/0.8166, allocations: 130.1 kB / 0.5342 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/0.8168, allocations: 137.2 kB / 0.5344 GB, free: 83.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006151/0.8229, allocations: 3.114 MB / 0.5374 GB, free: 83.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02196/0.8449, allocations: 11.01 MB / 0.5481 GB, free: 81.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.8474, allocations: 2.584 MB / 0.5507 GB, free: 80.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.8495, allocations: 1.46 MB / 0.5521 GB, free: 80.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.8498, allocations: 137.1 kB / 0.5522 GB, free: 80.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.8498, allocations: 49.88 kB / 0.5523 GB, free: 80.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.156e-06/0.8499, allocations: 0 / 0.5523 GB, free: 80.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.00693/0.8568, allocations: 4.382 MB / 0.5565 GB, free: 79.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.8569, allocations: 90.08 kB / 0.5566 GB, free: 79.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.8607, allocations: 1.7 MB / 0.5583 GB, free: 79.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004939/0.8613, allocations: 46.64 kB / 0.5583 GB, free: 79.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000838/0.8621, allocations: 1.317 MB / 0.5596 GB, free: 78.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.8625, allocations: 461.9 kB / 0.5601 GB, free: 78.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.8626, allocations: 28.94 kB / 0.5601 GB, free: 78.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.8627, allocations: 368.9 kB / 0.5604 GB, free: 78.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8637, allocations: 0.7745 MB / 0.5612 GB, free: 78.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.8648, allocations: 1.135 MB / 0.5623 GB, free: 77.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.8659, allocations: 0.9805 MB / 0.5633 GB, free: 77.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.8659, allocations: 0 / 0.5633 GB, free: 77.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00338/0.8693, allocations: 2.446 MB / 0.5657 GB, free: 76.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8694, allocations: 7.25 kB / 0.5657 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.8694, allocations: 17.88 kB / 0.5657 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008196/0.8702, allocations: 362.4 kB / 0.566 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.8714, allocations: 339.3 kB / 0.5663 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.8756, allocations: 4.043 MB / 0.5703 GB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.8775, allocations: 89.95 kB / 0.5704 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/0.8779, allocations: 66.47 kB / 0.5704 GB, free: 74.11 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004549/0.8783, allocations: 185.9 kB / 0.5706 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008803/0.8792, allocations: 195.5 kB / 0.5708 GB, free: 73.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.8829, allocations: 2.105 MB / 0.5729 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.8829, allocations: 14.72 kB / 0.5729 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.883, allocations: 3.25 kB / 0.5729 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.883, allocations: 10.81 kB / 0.5729 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009219/0.8922, allocations: 5.164 MB / 0.5779 GB, free: 71.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.8923, allocations: 7.875 kB / 0.5779 GB, free: 71.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/0.8933, allocations: 232.4 kB / 0.5782 GB, free: 71.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/0.8942, allocations: 343.7 kB / 0.5785 GB, free: 70.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.8943, allocations: 35.23 kB / 0.5785 GB, free: 70.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/0.8983, allocations: 3.945 MB / 0.5824 GB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8984, allocations: 3.656 kB / 0.5824 GB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.9025, allocations: 3.279 MB / 0.5856 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9036, allocations: 477.1 kB / 0.586 GB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/0.9041, allocations: 27.44 kB / 0.5861 GB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.9053, allocations: 103 kB / 0.5862 GB, free: 66.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.9055, allocations: 91.09 kB / 0.5863 GB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9056, allocations: 40.2 kB / 0.5863 GB, free: 66.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001947/0.9076, allocations: 1.316 MB / 0.5876 GB, free: 66.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9076, allocations: 0 / 0.5876 GB, free: 66.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001993/0.9096, allocations: 0.5763 MB / 0.5881 GB, free: 65.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004447/0.9141, allocations: 4.411 MB / 0.5924 GB, free: 63.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.917, allocations: 2.232 MB / 0.5946 GB, free: 62.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.917, allocations: 0 / 0.5946 GB, free: 62.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.9186, allocations: 1.297 MB / 0.5959 GB, free: 61.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.921, allocations: 482.4 kB / 0.5964 GB, free: 61.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.9314, allocations: 5.555 MB / 0.6018 GB, free: 59.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/0.9334, allocations: 2.475 MB / 0.6042 GB, free: 58.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001515/0.9349, allocations: 486.9 kB / 0.6047 GB, free: 58.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.9362, allocations: 1.058 MB / 0.6057 GB, free: 57.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9362, allocations: 6.906 kB / 0.6057 GB, free: 57.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06903/1.005, allocations: 49.77 MB / 0.6543 GB, free: 21.18 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.005, allocations: 198.2 kB / 0.6545 GB, free: 20.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.965, allocations: 4 kB / 0.6545 GB, free: 20.95 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat