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.0009891/0.000989, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.28/1.28, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007665/0.0007666, allocations: 87.88 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004493, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1965, allocations: 47.57 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.3721, allocations: 116 MB / 493 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004342/0.3726, allocations: 95.95 kB / 493.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4077/0.7804, allocations: 62.26 MB / 0.5423 GB, free: 76.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.7805, allocations: 0 / 0.5423 GB, free: 76.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002735/0.7807, allocations: 79.92 kB / 0.5424 GB, free: 76.84 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.008108/0.7889, allocations: 3.401 MB / 0.5457 GB, free: 73.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.7889, allocations: 8.031 kB / 0.5457 GB, free: 73.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.7909, allocations: 488.4 kB / 0.5462 GB, free: 72.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.7955, allocations: 2.158 MB / 0.5483 GB, free: 70.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.7957, allocations: 384.4 kB / 0.5487 GB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.7965, allocations: 288.2 kB / 0.549 GB, free: 69.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/0.8033, allocations: 3.691 MB / 0.5526 GB, free: 66.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.8034, allocations: 7.906 kB / 0.5526 GB, free: 66.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.8038, allocations: 127.9 kB / 0.5527 GB, free: 66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-05/0.8039, allocations: 113.5 kB / 0.5528 GB, free: 65.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005151/0.8091, allocations: 2.942 MB / 0.5557 GB, free: 62.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.8268, allocations: 11.99 MB / 0.5674 GB, free: 50.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.8296, allocations: 2.855 MB / 0.5702 GB, free: 47.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.8311, allocations: 1.149 MB / 0.5713 GB, free: 46.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.8314, allocations: 138.4 kB / 0.5714 GB, free: 46.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.8329, allocations: 1.175 MB / 0.5726 GB, free: 44.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 4.278e-06/0.8329, allocations: 0 / 0.5726 GB, free: 44.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01894/0.8519, allocations: 9.451 MB / 0.5818 GB, free: 35.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.852, allocations: 316.7 kB / 0.5821 GB, free: 35.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.855, allocations: 2.093 MB / 0.5841 GB, free: 32.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.8554, allocations: 61.69 kB / 0.5842 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.8566, allocations: 1.395 MB / 0.5856 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006655/0.8573, allocations: 0.6047 MB / 0.5862 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.8575, allocations: 40 kB / 0.5862 GB, free: 30.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8576, allocations: 390 kB / 0.5866 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.8595, allocations: 1.046 MB / 0.5876 GB, free: 29.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.8612, allocations: 1.6 MB / 0.5891 GB, free: 27.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.8644, allocations: 2.63 MB / 0.5917 GB, free: 24.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.8645, allocations: 4 kB / 0.5917 GB, free: 24.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005747/0.8702, allocations: 3.675 MB / 0.5953 GB, free: 21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.8704, allocations: 483.6 kB / 0.5958 GB, free: 20.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.8705, allocations: 19.94 kB / 0.5958 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.8732, allocations: 1.202 MB / 0.597 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.8746, allocations: 379.4 kB / 0.5973 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.8873, allocations: 14.59 MB / 0.6116 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.8897, allocations: 175.8 kB / 0.6117 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/0.8901, allocations: 83.98 kB / 0.6118 GB, free: 3.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.8901, allocations: 3.938 kB / 0.6118 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005487/0.8956, allocations: 3.422 MB / 0.6152 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.8957, allocations: 12 kB / 0.6152 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.8987, allocations: 1.202 MB / 0.6164 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.9003, allocations: 367.4 kB / 0.6167 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.9166, allocations: 14.56 MB / 0.6309 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.9191, allocations: 159.8 kB / 0.6311 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004332/0.9196, allocations: 87.98 kB / 0.6312 GB, free: 14.41 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 (212): * Single equations (assignments): 205 * 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.002234/0.9218, allocations: 0.9852 MB / 0.6321 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007332/0.9226, allocations: 233.2 kB / 0.6323 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/0.9298, allocations: 3.509 MB / 0.6358 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.9299, allocations: 24.09 kB / 0.6358 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.9299, allocations: 3.938 kB / 0.6358 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.9299, allocations: 7.969 kB / 0.6358 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.9437, allocations: 6.782 MB / 0.6424 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9438, allocations: 0 / 0.6424 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.9447, allocations: 207.7 kB / 0.6426 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003791/0.9485, allocations: 1.425 MB / 0.644 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.9487, allocations: 47.97 kB / 0.6441 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1886/1.137, allocations: 14.83 MB / 0.6585 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.137, allocations: 6.531 kB / 0.6585 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/1.144, allocations: 4.849 MB / 0.6633 GB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.146, allocations: 0.5318 MB / 0.6638 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.146, allocations: 52.66 kB / 0.6639 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.148, allocations: 139.7 kB / 0.664 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000497/1.149, allocations: 231.5 kB / 0.6642 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.149, allocations: 52.75 kB / 0.6643 GB, free: 92.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002073/1.151, allocations: 1.432 MB / 0.6657 GB, free: 92.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 3.062 kB / 0.6657 GB, free: 92.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004168/1.155, allocations: 1.266 MB / 0.6669 GB, free: 92.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (116): * Single equations (assignments): 107 * 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.0005667/1.156, allocations: 332.5 kB / 0.6672 GB, free: 92.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009404/1.165, allocations: 6.37 MB / 0.6734 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.165, allocations: 0 / 0.6734 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.169, allocations: 2.497 MB / 0.6759 GB, free: 89.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.173, allocations: 0.5466 MB / 0.6764 GB, free: 89.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.184, allocations: 7.386 MB / 0.6836 GB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/1.187, allocations: 2.262 MB / 0.6858 GB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00237/1.189, allocations: 0.597 MB / 0.6864 GB, free: 84.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/1.19, allocations: 138.1 kB / 0.6865 GB, free: 84.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/1.19, allocations: 4 kB / 0.6865 GB, free: 84.85 MB / 410.7 MB Notification: Performance of Templates: time 0.06699/1.257, allocations: 48.4 MB / 0.7338 GB, free: 50.06 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/jenkins1/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