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.001081/0.001081, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.302/1.302, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.0008898, allocations: 100.9 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.44e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09141, allocations: 50.42 MB / 394.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4166, allocations: 92.65 MB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4169, allocations: 83.95 kB / 487.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4054/0.8223, allocations: 74.67 MB / 0.5486 GB, free: 86.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8224, allocations: 0 / 0.5486 GB, free: 86.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003539/0.8227, allocations: 84.58 kB / 0.5487 GB, free: 86.47 MB / 426.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.008957/0.8317, allocations: 2.905 MB / 0.5515 GB, free: 85.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.8318, allocations: 12.61 kB / 0.5515 GB, free: 85.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001262/0.833, allocations: 430 kB / 0.5519 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.8346, allocations: 395.6 kB / 0.5523 GB, free: 85.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.8391, allocations: 2.169 MB / 0.5544 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.8393, allocations: 219.5 kB / 0.5546 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.8398, allocations: 282 kB / 0.5549 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007021/0.8468, allocations: 4.041 MB / 0.5589 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.8469, allocations: 0 / 0.5589 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.8472, allocations: 131.9 kB / 0.559 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.8474, allocations: 139.6 kB / 0.5591 GB, free: 84.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005522/0.853, allocations: 3.092 MB / 0.5621 GB, free: 84.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.8734, allocations: 11.01 MB / 0.5729 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.8758, allocations: 2.601 MB / 0.5754 GB, free: 82.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.8779, allocations: 1.445 MB / 0.5768 GB, free: 82.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.8782, allocations: 138.4 kB / 0.577 GB, free: 81.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.8782, allocations: 56.27 kB / 0.577 GB, free: 81.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.417e-06/0.8782, allocations: 0 / 0.577 GB, free: 81.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.007114/0.8854, allocations: 4.354 MB / 0.5813 GB, free: 80.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8854, allocations: 104.1 kB / 0.5814 GB, free: 80.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.8876, allocations: 1.697 MB / 0.583 GB, free: 80.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/0.8877, allocations: 45.58 kB / 0.5831 GB, free: 80 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.8883, allocations: 1.317 MB / 0.5844 GB, free: 79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.8886, allocations: 463 kB / 0.5848 GB, free: 78.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.8887, allocations: 27.94 kB / 0.5848 GB, free: 78.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.8888, allocations: 374.3 kB / 0.5852 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009345/0.8897, allocations: 0.7795 MB / 0.5859 GB, free: 78.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.8909, allocations: 1.121 MB / 0.587 GB, free: 77.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.8921, allocations: 0.98 MB / 0.588 GB, free: 76.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.8921, allocations: 3.438 kB / 0.588 GB, free: 76.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003369/0.8955, allocations: 2.443 MB / 0.5904 GB, free: 76.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.8955, allocations: 9.344 kB / 0.5904 GB, free: 76.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.8956, allocations: 13.97 kB / 0.5904 GB, free: 76.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/0.8965, allocations: 354.4 kB / 0.5907 GB, free: 76.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8978, allocations: 340.9 kB / 0.5911 GB, free: 76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.9021, allocations: 4.038 MB / 0.595 GB, free: 73.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.9037, allocations: 87.73 kB / 0.5951 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9039, allocations: 63.02 kB / 0.5952 GB, free: 73.38 MB / 426.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.000269/0.9042, allocations: 189.5 kB / 0.5953 GB, free: 73.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.9045, allocations: 185.9 kB / 0.5955 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.9077, allocations: 2.118 MB / 0.5976 GB, free: 72.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9077, allocations: 14.28 kB / 0.5976 GB, free: 72.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9077, allocations: 3.625 kB / 0.5976 GB, free: 72.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.9078, allocations: 10.72 kB / 0.5976 GB, free: 72.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.9163, allocations: 5.148 MB / 0.6026 GB, free: 70.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.9163, allocations: 11.67 kB / 0.6027 GB, free: 70.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/0.9173, allocations: 235.9 kB / 0.6029 GB, free: 70.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000912/0.9183, allocations: 336.4 kB / 0.6032 GB, free: 70.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.9184, allocations: 34.81 kB / 0.6032 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.9225, allocations: 3.942 MB / 0.6071 GB, free: 67.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9225, allocations: 5.75 kB / 0.6071 GB, free: 67.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/0.927, allocations: 3.282 MB / 0.6103 GB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.9283, allocations: 462.1 kB / 0.6107 GB, free: 65.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007503/0.9291, allocations: 30.45 kB / 0.6108 GB, free: 65.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.9305, allocations: 100.6 kB / 0.6109 GB, free: 65.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.9307, allocations: 105.2 kB / 0.611 GB, free: 65.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.9309, allocations: 51.45 kB / 0.611 GB, free: 65.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002373/0.9333, allocations: 1.302 MB / 0.6123 GB, free: 65.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9333, allocations: 0 / 0.6123 GB, free: 65.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002563/0.9358, allocations: 0.5788 MB / 0.6128 GB, free: 65.22 MB / 426.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.005031/0.9409, allocations: 4.405 MB / 0.6171 GB, free: 62.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.944, allocations: 2.232 MB / 0.6193 GB, free: 61.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.944, allocations: 3.812 kB / 0.6193 GB, free: 61.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.9457, allocations: 1.288 MB / 0.6206 GB, free: 61.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.9483, allocations: 493.6 kB / 0.6211 GB, free: 61.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.9607, allocations: 5.55 MB / 0.6265 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.9632, allocations: 2.482 MB / 0.6289 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001702/0.9649, allocations: 483.5 kB / 0.6294 GB, free: 57.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.9662, allocations: 1.063 MB / 0.6304 GB, free: 56.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9663, allocations: 0 / 0.6304 GB, free: 56.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09153/1.058, allocations: 49.73 MB / 0.679 GB, free: 17.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.058, allocations: 202.9 kB / 0.6792 GB, free: 17.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/4.342, allocations: 4 kB / 0.6792 GB, free: 17.41 MB / 426.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