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.001253/0.001253, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.432/1.432, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008594/0.0008593, allocations: 89.61 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2221, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3238, allocations: 92.08 MB / 468 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.3241, allocations: 87.95 kB / 468.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3422/0.6664, allocations: 74.01 MB / 0.5294 GB, free: 84.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6664, allocations: 0 / 0.5294 GB, free: 84.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002745/0.6667, allocations: 92.69 kB / 0.5295 GB, free: 84.31 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.009471/0.6762, allocations: 3.203 MB / 0.5326 GB, free: 82.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6763, allocations: 10.22 kB / 0.5326 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.6776, allocations: 431.4 kB / 0.533 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.6788, allocations: 396 kB / 0.5334 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/0.6833, allocations: 2.196 MB / 0.5355 GB, free: 79.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6835, allocations: 221 kB / 0.5358 GB, free: 79.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/0.6839, allocations: 284 kB / 0.536 GB, free: 79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/0.6902, allocations: 4.133 MB / 0.5401 GB, free: 74.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/0.6904, allocations: 4 kB / 0.5401 GB, free: 74.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.6906, allocations: 124 kB / 0.5402 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.6907, allocations: 137.9 kB / 0.5403 GB, free: 74.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004896/0.6956, allocations: 3.209 MB / 0.5435 GB, free: 71.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.7114, allocations: 11.02 MB / 0.5542 GB, free: 60.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7137, allocations: 2.629 MB / 0.5568 GB, free: 57.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.7141, allocations: 144.8 kB / 0.5569 GB, free: 57.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.7141, allocations: 43.56 kB / 0.557 GB, free: 57.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.329e-06/0.7141, allocations: 4 kB / 0.557 GB, free: 57.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008649/0.7228, allocations: 5.663 MB / 0.5625 GB, free: 51.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.7229, allocations: 94.42 kB / 0.5626 GB, free: 51.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.7254, allocations: 1.714 MB / 0.5643 GB, free: 49.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.7257, allocations: 49.7 kB / 0.5643 GB, free: 49.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.7264, allocations: 1.32 MB / 0.5656 GB, free: 48.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.7267, allocations: 446.9 kB / 0.566 GB, free: 47.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.7268, allocations: 32 kB / 0.566 GB, free: 47.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.7269, allocations: 365.9 kB / 0.5664 GB, free: 47.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.728, allocations: 0.8314 MB / 0.5672 GB, free: 46.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.7291, allocations: 1.173 MB / 0.5684 GB, free: 45.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.7303, allocations: 1.017 MB / 0.5694 GB, free: 44.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.7303, allocations: 4 kB / 0.5694 GB, free: 44.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003762/0.7341, allocations: 2.549 MB / 0.5718 GB, free: 41.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.7342, allocations: 15.95 kB / 0.5719 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.7342, allocations: 12 kB / 0.5719 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.7351, allocations: 380.6 kB / 0.5722 GB, free: 41.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7363, allocations: 323.5 kB / 0.5725 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.7405, allocations: 4.357 MB / 0.5768 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.7421, allocations: 87.88 kB / 0.5769 GB, free: 36.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.7422, allocations: 63.98 kB / 0.5769 GB, free: 36.15 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.001657/0.7439, allocations: 1.048 MB / 0.578 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.7443, allocations: 189.8 kB / 0.5781 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.7474, allocations: 2.203 MB / 0.5803 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7474, allocations: 20 kB / 0.5803 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7474, allocations: 4 kB / 0.5803 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7474, allocations: 11.95 kB / 0.5803 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007289/0.7547, allocations: 5.175 MB / 0.5854 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.7548, allocations: 4 kB / 0.5854 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/0.7557, allocations: 223.6 kB / 0.5856 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/0.7565, allocations: 364.8 kB / 0.5859 GB, free: 26.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.7566, allocations: 27.98 kB / 0.586 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.7608, allocations: 4.284 MB / 0.5902 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7608, allocations: 0 / 0.5902 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.7653, allocations: 3.302 MB / 0.5934 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.7667, allocations: 470.7 kB / 0.5938 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/0.7672, allocations: 28 kB / 0.5939 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.7686, allocations: 104 kB / 0.594 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.7689, allocations: 84.88 kB / 0.594 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.769, allocations: 39.98 kB / 0.5941 GB, free: 18.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002453/0.7714, allocations: 1.338 MB / 0.5954 GB, free: 16.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7714, allocations: 0 / 0.5954 GB, free: 16.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002731/0.7742, allocations: 0.5625 MB / 0.5959 GB, free: 16.43 MB / 378.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.005195/0.7794, allocations: 4.118 MB / 0.6 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.7827, allocations: 2.338 MB / 0.6022 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7828, allocations: 192 / 0.6022 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.7846, allocations: 1.336 MB / 0.6035 GB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7871, allocations: 486.5 kB / 0.604 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/0.822, allocations: 23.37 MB / 0.6268 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/0.8258, allocations: 2.489 MB / 0.6293 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002509/0.8284, allocations: 475.5 kB / 0.6297 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/0.8305, allocations: 1.038 MB / 0.6307 GB, free: 11.8 MB / 410.7 MB Notification: Performance of SimCode: time 4.579e-06/0.8305, allocations: 0 / 0.6307 GB, free: 11.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/1.081, allocations: 49.64 MB / 0.6792 GB, free: 99.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/1.081, allocations: 221.1 kB / 0.6794 GB, free: 98.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.226, allocations: 0 / 0.6794 GB, free: 98.89 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