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.0009995/0.0009995, allocations: 181.5 kB / 17.01 MB, free: 5.125 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.435/1.435, 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.001071/0.001071, allocations: 96.86 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002366/0.0002366, allocations: 11.98 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 47.56 MB / 375.9 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3331, allocations: 102.2 MB / 478.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.3334, allocations: 87.95 kB / 478.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.407/2.741, allocations: 0.8169 GB / 1.284 GB, free: 36.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/2.741, allocations: 0 / 1.284 GB, free: 36.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001017/2.742, allocations: 400.5 kB / 1.284 GB, free: 36.58 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.05856/2.8, allocations: 17.09 MB / 1.301 GB, free: 31.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/2.8, allocations: 18.53 kB / 1.301 GB, free: 31.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01084/2.811, allocations: 3.114 MB / 1.304 GB, free: 30.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04276/2.854, allocations: 8.691 MB / 1.312 GB, free: 25.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/2.878, allocations: 11.93 MB / 1.324 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/2.88, allocations: 1.338 MB / 1.325 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007478/2.887, allocations: 1.714 MB / 1.327 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6482/3.535, allocations: 32.18 MB / 1.359 GB, free: 33.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006421/3.536, allocations: 18.06 kB / 1.359 GB, free: 33.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006199/3.542, allocations: 0.745 MB / 1.359 GB, free: 33.52 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/3.544, allocations: 1.249 MB / 1.361 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0566/3.6, allocations: 28.12 MB / 1.388 GB, free: 33.32 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/3.793, allocations: 96.7 MB / 1.482 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04096/3.835, allocations: 34.02 MB / 1.516 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.422/4.257, allocations: 47.92 MB / 1.562 GB, free: 77.59 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/4.257, allocations: 151.6 kB / 1.563 GB, free: 77.54 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1456): time 1.788e-05/4.257, allocations: 0 / 1.563 GB, free: 77.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1456): time 0.2387/4.495, allocations: 93.8 MB / 1.654 GB, free: 58.98 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/4.496, allocations: 191.7 kB / 1.654 GB, free: 58.88 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/4.502, allocations: 3.954 MB / 1.658 GB, free: 58.61 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.003315/4.505, allocations: 206.2 kB / 1.658 GB, free: 58.57 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/4.509, allocations: 6.109 MB / 1.664 GB, free: 55.98 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.006609/4.516, allocations: 4.764 MB / 1.669 GB, free: 52.87 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/4.518, allocations: 229.3 kB / 1.669 GB, free: 52.87 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001328/4.519, allocations: 0.8943 MB / 1.67 GB, free: 52.54 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01542/4.535, allocations: 9.909 MB / 1.68 GB, free: 52.51 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01838/4.553, allocations: 12.31 MB / 1.692 GB, free: 47.24 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/4.573, allocations: 11.93 MB / 1.703 GB, free: 39.44 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/4.573, allocations: 20 kB / 1.703 GB, free: 39.42 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.04828/4.621, allocations: 28.75 MB / 1.732 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/4.621, allocations: 35.8 kB / 1.732 GB, free: 14.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/4.621, allocations: 62.98 kB / 1.732 GB, free: 14.43 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/4.639, allocations: 10.71 MB / 1.742 GB, free: 5.238 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007917/4.647, allocations: 1.929 MB / 1.744 GB, free: 3.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.338/4.985, allocations: 21.61 MB / 1.765 GB, free: 80.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/4.995, allocations: 1.418 MB / 1.766 GB, free: 80.31 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/4.997, allocations: 0.5235 MB / 1.767 GB, free: 80.31 MB / 0.5262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1052): * Single equations (assignments): 899 * 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 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01503/5.012, allocations: 7.22 MB / 1.774 GB, free: 80.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002772/5.015, allocations: 0.7244 MB / 1.775 GB, free: 79.91 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05187/5.067, allocations: 28.1 MB / 1.802 GB, free: 79.36 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04067/5.108, allocations: 25.57 MB / 1.827 GB, free: 75.65 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/5.108, allocations: 0 / 1.827 GB, free: 75.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001889/5.108, allocations: 54.38 kB / 1.827 GB, free: 75.65 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07625/5.184, allocations: 52.28 MB / 1.878 GB, free: 53.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.869e-05/5.184, allocations: 0 / 1.878 GB, free: 53.38 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005492/5.19, allocations: 1.338 MB / 1.88 GB, free: 53.35 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/5.205, allocations: 10.63 MB / 1.89 GB, free: 45.28 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001765/5.206, allocations: 302.3 kB / 1.89 GB, free: 45.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/5.226, allocations: 21.45 MB / 1.911 GB, free: 25.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/5.226, allocations: 3.469 kB / 1.911 GB, free: 25.78 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3568/5.583, allocations: 41.61 MB / 1.952 GB, free: 73.88 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009878/5.593, allocations: 3.138 MB / 1.955 GB, free: 73.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003875/5.597, allocations: 185.8 kB / 1.955 GB, free: 73.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008133/5.605, allocations: 0.5065 MB / 1.956 GB, free: 73.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004019/5.609, allocations: 1.061 MB / 1.957 GB, free: 73.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002546/5.612, allocations: 374.2 kB / 1.957 GB, free: 73.69 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005264/5.617, allocations: 2.971 MB / 1.96 GB, free: 73.51 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.11e-07/5.617, allocations: 0 / 1.96 GB, free: 73.51 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01724/5.634, allocations: 4.36 MB / 1.964 GB, free: 72.65 MB / 0.5262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (746): * Single equations (assignments): 593 * 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 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.07409/5.708, allocations: 42.54 MB / 2.006 GB, free: 71.08 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.04378/5.752, allocations: 23.83 MB / 2.029 GB, free: 65.71 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/5.752, allocations: 3.875 kB / 2.029 GB, free: 65.71 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02264/5.775, allocations: 12.32 MB / 2.041 GB, free: 61.06 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/5.785, allocations: 1.37 MB / 2.042 GB, free: 60.69 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4668/6.252, allocations: 158.5 MB / 2.197 GB, free: 79.05 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/6.272, allocations: 12.32 MB / 2.209 GB, free: 77.95 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.009006/6.281, allocations: 2.755 MB / 2.212 GB, free: 77.84 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01078/6.291, allocations: 6.15 MB / 2.218 GB, free: 77.84 MB / 0.5418 GB Notification: Performance of SimCode: time 1.723e-06/6.291, allocations: 3.469 kB / 2.218 GB, free: 77.84 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9881/7.28, allocations: 349 MB / 2.559 GB, free: 64.54 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/7.28, allocations: 237.7 kB / 2.559 GB, free: 64.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/15.76, allocations: 3.562 kB / 2.559 GB, free: 64.3 MB / 0.5574 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