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.0008794/0.0008795, 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.544/1.544, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0008339/0.0008342, allocations: 90.36 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.187e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09048, allocations: 47.59 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4268, allocations: 91.56 MB / 454.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4271, allocations: 91.55 kB / 454.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1801/0.6072, allocations: 73.37 MB / 0.5158 GB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.6072, allocations: 0 / 0.5158 GB, free: 52 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002447/0.6075, allocations: 91.91 kB / 0.5159 GB, free: 15.96 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.006254/0.6138, allocations: 2.876 MB / 0.5187 GB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6138, allocations: 12.03 kB / 0.5187 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6149, allocations: 391.8 kB / 0.5191 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.6186, allocations: 2.167 MB / 0.5212 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.6187, allocations: 104 kB / 0.5213 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.619, allocations: 164 kB / 0.5215 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004635/0.6237, allocations: 2.952 MB / 0.5244 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005661/0.6293, allocations: 3.634 MB / 0.5279 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.6294, allocations: 3.938 kB / 0.5279 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.6296, allocations: 4 kB / 0.5279 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.6298, allocations: 137.9 kB / 0.528 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2328/0.8625, allocations: 10.4 MB / 0.5382 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.8651, allocations: 2.537 MB / 0.5407 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.8673, allocations: 1.339 MB / 0.542 GB, free: 85.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.8676, allocations: 140.4 kB / 0.5421 GB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.8677, allocations: 49.27 kB / 0.5422 GB, free: 84.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 4.148e-06/0.8677, allocations: 0.6562 kB / 0.5422 GB, free: 84.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.008625/0.8763, allocations: 4.176 MB / 0.5462 GB, free: 84.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.8764, allocations: 94.2 kB / 0.5463 GB, free: 84.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.8787, allocations: 1.432 MB / 0.5477 GB, free: 83.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/0.8788, allocations: 26.86 kB / 0.5478 GB, free: 83.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.8795, allocations: 1.324 MB / 0.5491 GB, free: 83.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.8798, allocations: 438.1 kB / 0.5495 GB, free: 83.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.8799, allocations: 0 / 0.5495 GB, free: 83.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.88, allocations: 371.2 kB / 0.5498 GB, free: 82.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.8814, allocations: 0.7542 MB / 0.5506 GB, free: 82.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.8831, allocations: 1.096 MB / 0.5516 GB, free: 82.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.885, allocations: 0.9608 MB / 0.5526 GB, free: 82.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.8851, allocations: 0 / 0.5526 GB, free: 82.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005349/0.8904, allocations: 2.291 MB / 0.5548 GB, free: 82.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.8905, allocations: 9.094 kB / 0.5548 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/0.8905, allocations: 15.12 kB / 0.5548 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.8918, allocations: 349.3 kB / 0.5552 GB, free: 82.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.8939, allocations: 333.5 kB / 0.5555 GB, free: 82.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.9, allocations: 3.911 MB / 0.5593 GB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.9021, allocations: 58.97 kB / 0.5594 GB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.9023, allocations: 63.94 kB / 0.5594 GB, free: 80.96 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.0003589/0.9027, allocations: 147.5 kB / 0.5596 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004202/0.9069, allocations: 1.851 MB / 0.5614 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/0.9075, allocations: 175.2 kB / 0.5615 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/0.9121, allocations: 1.993 MB / 0.5635 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.9121, allocations: 12.66 kB / 0.5635 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.9121, allocations: 3.531 kB / 0.5635 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.9121, allocations: 6.609 kB / 0.5635 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.924, allocations: 4.64 MB / 0.568 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.9241, allocations: 7.484 kB / 0.568 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.9256, allocations: 230.5 kB / 0.5683 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.9269, allocations: 336.4 kB / 0.5686 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.927, allocations: 24.59 kB / 0.5686 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00587/0.9329, allocations: 3.815 MB / 0.5723 GB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.933, allocations: 0 / 0.5723 GB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006415/0.9394, allocations: 3.123 MB / 0.5754 GB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.9408, allocations: 448.8 kB / 0.5758 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.9412, allocations: 3.906 kB / 0.5758 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.9428, allocations: 81.75 kB / 0.5759 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.9431, allocations: 97.02 kB / 0.576 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.9432, allocations: 40.34 kB / 0.576 GB, free: 75.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.9453, allocations: 1.089 MB / 0.5771 GB, free: 75.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.9453, allocations: 0 / 0.5771 GB, free: 75.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002947/0.9483, allocations: 0.5066 MB / 0.5776 GB, free: 75.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.006461/0.9548, allocations: 4.111 MB / 0.5816 GB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.9589, allocations: 2.158 MB / 0.5837 GB, free: 72.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.959, allocations: 0 / 0.5837 GB, free: 72.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.9612, allocations: 1.246 MB / 0.5849 GB, free: 71.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.9642, allocations: 351 kB / 0.5853 GB, free: 71.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.9783, allocations: 5.407 MB / 0.5905 GB, free: 69.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.981, allocations: 2.484 MB / 0.593 GB, free: 68.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002227/0.9833, allocations: 455.6 kB / 0.5934 GB, free: 68.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.9851, allocations: 1.028 MB / 0.5944 GB, free: 67.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.786e-06/0.9852, allocations: 0 / 0.5944 GB, free: 67.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09486/1.08, allocations: 42.14 MB / 0.6355 GB, free: 43.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.08, allocations: 179.2 kB / 0.6357 GB, free: 43.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.087, allocations: 0 / 0.6357 GB, free: 43.33 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