Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 181.2 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.835/1.835, 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.0009003/0.0009004, allocations: 92.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003018, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3765, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5472, allocations: 115.7 MB / 491.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004132/0.5477, allocations: 94.36 kB / 491.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4926/1.04, allocations: 62.39 MB / 0.541 GB, free: 77.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.958e-06/1.04, allocations: 0 / 0.541 GB, free: 77.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003065/1.041, allocations: 83.88 kB / 0.5411 GB, free: 77.12 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01081/1.052, allocations: 3.436 MB / 0.5444 GB, free: 73.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/1.052, allocations: 12.03 kB / 0.5445 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/1.055, allocations: 479.5 kB / 0.5449 GB, free: 73.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/1.061, allocations: 2.08 MB / 0.5469 GB, free: 70.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/1.061, allocations: 391.8 kB / 0.5473 GB, free: 70.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/1.063, allocations: 287.9 kB / 0.5476 GB, free: 70.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/1.075, allocations: 3.675 MB / 0.5512 GB, free: 66.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/1.075, allocations: 7.906 kB / 0.5512 GB, free: 66.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/1.077, allocations: 120 kB / 0.5513 GB, free: 66.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.077, allocations: 109.5 kB / 0.5514 GB, free: 66.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008033/1.085, allocations: 2.946 MB / 0.5543 GB, free: 63.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/1.114, allocations: 11.98 MB / 0.566 GB, free: 50.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/1.118, allocations: 2.852 MB / 0.5688 GB, free: 47.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/1.119, allocations: 146.3 kB / 0.5689 GB, free: 47.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/1.121, allocations: 1.179 MB / 0.5701 GB, free: 46.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 9.938e-06/1.121, allocations: 0 / 0.5701 GB, free: 46.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.0233/1.144, allocations: 9.435 MB / 0.5793 GB, free: 36.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.144, allocations: 312.7 kB / 0.5796 GB, free: 36.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/1.148, allocations: 1.867 MB / 0.5814 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004895/1.148, allocations: 61.7 kB / 0.5815 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.15, allocations: 1.387 MB / 0.5828 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/1.151, allocations: 0.5931 MB / 0.5834 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.151, allocations: 40 kB / 0.5834 GB, free: 32.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/1.151, allocations: 398 kB / 0.5838 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.153, allocations: 1.05 MB / 0.5848 GB, free: 31.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/1.154, allocations: 1.588 MB / 0.5864 GB, free: 29.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.156, allocations: 1.255 MB / 0.5876 GB, free: 28.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.156, allocations: 4 kB / 0.5876 GB, free: 28.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005982/1.162, allocations: 3.683 MB / 0.5912 GB, free: 24.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001401/1.163, allocations: 5.407 MB / 0.5965 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.163, allocations: 12 kB / 0.5965 GB, free: 18.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/1.166, allocations: 1.199 MB / 0.5977 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.168, allocations: 379.4 kB / 0.598 GB, free: 16.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.184, allocations: 14.88 MB / 0.6126 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.187, allocations: 175.8 kB / 0.6127 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/1.188, allocations: 79.98 kB / 0.6128 GB, free: 1.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.188, allocations: 4 kB / 0.6128 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00655/1.194, allocations: 3.418 MB / 0.6161 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/1.194, allocations: 16 kB / 0.6162 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/1.198, allocations: 1.206 MB / 0.6173 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.199, allocations: 375.4 kB / 0.6177 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/1.219, allocations: 14.86 MB / 0.6322 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/1.223, allocations: 163.8 kB / 0.6324 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/1.223, allocations: 80 kB / 0.6324 GB, free: 12.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003174/1.226, allocations: 0.9814 MB / 0.6334 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.227, allocations: 237.2 kB / 0.6336 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/1.235, allocations: 3.517 MB / 0.6371 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/1.235, allocations: 16 kB / 0.6371 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.235, allocations: 8 kB / 0.6371 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/1.235, allocations: 11.95 kB / 0.6371 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/1.252, allocations: 6.726 MB / 0.6437 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.252, allocations: 0 / 0.6437 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/1.253, allocations: 204 kB / 0.6439 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3734/1.626, allocations: 1.436 MB / 0.6453 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005409/1.627, allocations: 52.02 kB / 0.6453 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/1.648, allocations: 15.25 MB / 0.6602 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.648, allocations: 2.156 kB / 0.6602 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/1.657, allocations: 4.957 MB / 0.665 GB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.659, allocations: 0.5331 MB / 0.6656 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/1.66, allocations: 55.77 kB / 0.6656 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.661, allocations: 138.1 kB / 0.6658 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008442/1.662, allocations: 223.3 kB / 0.666 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.662, allocations: 50.8 kB / 0.666 GB, free: 91.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003573/1.666, allocations: 1.433 MB / 0.6674 GB, free: 91.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.666, allocations: 0 / 0.6674 GB, free: 91.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009071/1.675, allocations: 1.265 MB / 0.6686 GB, free: 91.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/1.677, allocations: 334.7 kB / 0.669 GB, free: 91.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.689, allocations: 6.366 MB / 0.6752 GB, free: 89.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.689, allocations: 3.875 kB / 0.6752 GB, free: 89.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00455/1.694, allocations: 2.438 MB / 0.6776 GB, free: 88.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.697, allocations: 0.5148 MB / 0.6781 GB, free: 88.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.71, allocations: 7.357 MB / 0.6853 GB, free: 84.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.712, allocations: 2.322 MB / 0.6875 GB, free: 83.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002717/1.715, allocations: 0.5935 MB / 0.6881 GB, free: 83.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/1.715, allocations: 143.7 kB / 0.6882 GB, free: 83.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/1.715, allocations: 0 / 0.6882 GB, free: 83.82 MB / 410.7 MB Notification: Performance of Templates: time 0.07708/1.792, allocations: 47.86 MB / 0.735 GB, free: 48.32 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches