Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_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.001068/0.001068, allocations: 172.9 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.386/1.386, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.001044/0.001044, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.732e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08669, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4103, allocations: 102.1 MB / 472.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.4105, allocations: 92.56 kB / 472.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.618/3.028, allocations: 0.816 GB / 1.277 GB, free: 35.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.654e-06/3.028, allocations: 0 / 1.277 GB, free: 35.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008159/3.029, allocations: 400.5 kB / 1.278 GB, free: 35.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.05631/3.086, allocations: 16.48 MB / 1.294 GB, free: 30.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/3.086, allocations: 11.19 kB / 1.294 GB, free: 30.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01075/3.096, allocations: 3.079 MB / 1.297 GB, free: 30.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04646/3.143, allocations: 8.638 MB / 1.305 GB, free: 29.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/3.168, allocations: 11.92 MB / 1.317 GB, free: 27.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001623/3.17, allocations: 1.341 MB / 1.318 GB, free: 27.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00712/3.177, allocations: 1.716 MB / 1.32 GB, free: 27.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07603/3.253, allocations: 31.88 MB / 1.351 GB, free: 18.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008876/3.254, allocations: 15.91 kB / 1.351 GB, free: 18.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006902/3.261, allocations: 0.743 MB / 1.352 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/3.263, allocations: 1.253 MB / 1.353 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07452/3.337, allocations: 29.03 MB / 1.381 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5452/3.882, allocations: 96.61 MB / 1.476 GB, free: 34.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03732/3.92, allocations: 33.88 MB / 1.509 GB, free: 17.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02659/3.946, allocations: 15.12 MB / 1.523 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09373/4.04, allocations: 47.22 MB / 1.57 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/4.04, allocations: 151.3 kB / 1.57 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 1.833e-05/4.04, allocations: 3.469 kB / 1.57 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.08012/4.121, allocations: 26.62 MB / 1.596 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/4.121, allocations: 189.9 kB / 1.596 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4594/4.58, allocations: 4.586 MB / 1.6 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003927/4.584, allocations: 203.3 kB / 1.601 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005815/4.59, allocations: 6.116 MB / 1.607 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.01017/4.6, allocations: 4.762 MB / 1.611 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004414/4.605, allocations: 231.2 kB / 1.611 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002429/4.607, allocations: 0.8966 MB / 1.612 GB, free: 81.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02264/4.63, allocations: 9.812 MB / 1.622 GB, free: 81.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0236/4.653, allocations: 12.23 MB / 1.634 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/4.678, allocations: 11.87 MB / 1.645 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002242/4.679, allocations: 16.91 kB / 1.645 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.06783/4.747, allocations: 28.46 MB / 1.673 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/4.747, allocations: 34.47 kB / 1.673 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/4.747, allocations: 62.88 kB / 1.673 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/4.771, allocations: 10.41 MB / 1.683 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009805/4.781, allocations: 1.948 MB / 1.685 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/4.815, allocations: 21.21 MB / 1.706 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/4.827, allocations: 1.418 MB / 1.707 GB, free: 66.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004928/4.832, allocations: 0.5238 MB / 1.708 GB, free: 66.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.008361/4.84, allocations: 0.7027 MB / 1.709 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005917/4.846, allocations: 0.7256 MB / 1.709 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07174/4.918, allocations: 27.79 MB / 1.736 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05464/4.973, allocations: 25.33 MB / 1.761 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-05/4.973, allocations: 0 / 1.761 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002757/4.973, allocations: 58.78 kB / 1.761 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5232/5.496, allocations: 52.23 MB / 1.812 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001752/5.496, allocations: 4.516 kB / 1.812 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007158/5.504, allocations: 1.353 MB / 1.814 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02137/5.525, allocations: 10.29 MB / 1.824 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004193/5.529, allocations: 299.9 kB / 1.824 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02811/5.557, allocations: 21.1 MB / 1.845 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/5.557, allocations: 3.188 kB / 1.845 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07618/5.634, allocations: 41.29 MB / 1.885 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009501/5.643, allocations: 3.135 MB / 1.888 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004762/5.648, allocations: 189.4 kB / 1.888 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008428/5.657, allocations: 0.5032 MB / 1.889 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004338/5.661, allocations: 1.062 MB / 1.89 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00269/5.664, allocations: 371.1 kB / 1.89 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004536/5.668, allocations: 2.926 MB / 1.893 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/5.668, allocations: 0 / 1.893 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0184/5.687, allocations: 4.361 MB / 1.897 GB, free: 64.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.07948/5.766, allocations: 42.25 MB / 1.938 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04/5.806, allocations: 23.6 MB / 1.961 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/5.806, allocations: 4 kB / 1.961 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02336/5.83, allocations: 12.19 MB / 1.973 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/5.842, allocations: 1.455 MB / 1.975 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4553/6.297, allocations: 42.6 MB / 2.016 GB, free: 91.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/6.319, allocations: 12.32 MB / 2.028 GB, free: 90.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01176/6.33, allocations: 2.786 MB / 2.031 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01372/6.344, allocations: 6.16 MB / 2.037 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.914e-06/6.344, allocations: 4 kB / 2.037 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7871/7.131, allocations: 334.1 MB / 2.363 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/7.132, allocations: 204.6 kB / 2.364 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.214/16.35, allocations: 0 / 2.364 GB, free: 13.35 MB / 0.5573 GB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat