Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, 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.424/1.424, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008111/0.0008113, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.069e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09602, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4532, allocations: 121.1 MB / 491.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.4536, allocations: 82.39 kB / 491.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4837/0.9373, allocations: 102.2 MB / 0.5796 GB, free: 92.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.9374, allocations: 0 / 0.5796 GB, free: 92.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002625/0.9376, allocations: 104.3 kB / 0.5797 GB, free: 92.15 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01021/0.9479, allocations: 4.199 MB / 0.5838 GB, free: 90.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.9479, allocations: 7.906 kB / 0.5838 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.9535, allocations: 0.9554 MB / 0.5847 GB, free: 89.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.9635, allocations: 3.955 MB / 0.5886 GB, free: 87.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.9639, allocations: 476.4 kB / 0.589 GB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.965, allocations: 414.7 kB / 0.5894 GB, free: 87.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.9755, allocations: 5.214 MB / 0.5945 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/0.9756, allocations: 7.688 kB / 0.5945 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.976, allocations: 172.8 kB / 0.5947 GB, free: 84.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.9762, allocations: 170.8 kB / 0.5949 GB, free: 84.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.9837, allocations: 4.18 MB / 0.5989 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/1.01, allocations: 17.97 MB / 0.6165 GB, free: 65.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/1.016, allocations: 8.118 MB / 0.6244 GB, free: 56.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/1.018, allocations: 1.815 MB / 0.6262 GB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008442/1.027, allocations: 5.41 MB / 0.6315 GB, free: 49.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.028, allocations: 1.187 MB / 0.6326 GB, free: 48.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 3.256e-06/1.028, allocations: 0 / 0.6326 GB, free: 48.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.01282/1.041, allocations: 6.916 MB / 0.6394 GB, free: 41.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.041, allocations: 342.4 kB / 0.6397 GB, free: 40.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/1.044, allocations: 2.151 MB / 0.6418 GB, free: 38.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/1.045, allocations: 69.7 kB / 0.6419 GB, free: 38.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.046, allocations: 1.937 MB / 0.6438 GB, free: 36.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.047, allocations: 0.69 MB / 0.6444 GB, free: 35.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.047, allocations: 52 kB / 0.6445 GB, free: 35.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/1.047, allocations: 403.1 kB / 0.6449 GB, free: 35.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.048, allocations: 1.032 MB / 0.6459 GB, free: 34.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.05, allocations: 1.796 MB / 0.6476 GB, free: 32.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.052, allocations: 1.317 MB / 0.6489 GB, free: 30.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.052, allocations: 11.94 kB / 0.6489 GB, free: 30.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.005426/1.057, allocations: 3.867 MB / 0.6527 GB, free: 27.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001513/1.059, allocations: 8.484 MB / 0.661 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.059, allocations: 20 kB / 0.661 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/1.061, allocations: 1.009 MB / 0.662 GB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.062, allocations: 479.2 kB / 0.6625 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.074, allocations: 14.14 MB / 0.6763 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.076, allocations: 175.8 kB / 0.6764 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.076, allocations: 104 kB / 0.6765 GB, free: 1.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.076, allocations: 4 kB / 0.6765 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00542/1.082, allocations: 3.611 MB / 0.6801 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.082, allocations: 20 kB / 0.6801 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/1.084, allocations: 0.9939 MB / 0.6811 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.086, allocations: 479.2 kB / 0.6815 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2503/1.336, allocations: 14.11 MB / 0.6953 GB, free: 92.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.339, allocations: 161.2 kB / 0.6954 GB, free: 92.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/1.34, allocations: 106.6 kB / 0.6955 GB, free: 92.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000565/1.34, allocations: 287.7 kB / 0.6958 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/1.341, allocations: 280.4 kB / 0.6961 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007156/1.348, allocations: 3.221 MB / 0.6992 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/1.348, allocations: 20.61 kB / 0.6993 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.348, allocations: 1.125 kB / 0.6993 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/1.348, allocations: 14.05 kB / 0.6993 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.361, allocations: 7.01 MB / 0.7061 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.361, allocations: 2.953 kB / 0.7061 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.362, allocations: 281.5 kB / 0.7064 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/1.365, allocations: 1.032 MB / 0.7074 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.365, allocations: 64.89 kB / 0.7075 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.378, allocations: 11.59 MB / 0.7188 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.378, allocations: 4.562 kB / 0.7188 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/1.384, allocations: 4.63 MB / 0.7233 GB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.386, allocations: 0.5909 MB / 0.7239 GB, free: 85.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.387, allocations: 59.84 kB / 0.7239 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.388, allocations: 129.3 kB / 0.7241 GB, free: 85.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004926/1.388, allocations: 233.5 kB / 0.7243 GB, free: 85.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.389, allocations: 63.09 kB / 0.7243 GB, free: 85.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002341/1.391, allocations: 1.638 MB / 0.7259 GB, free: 85.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.391, allocations: 0 / 0.7259 GB, free: 85.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004767/1.396, allocations: 1.515 MB / 0.7274 GB, free: 85.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 139 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006589/1.396, allocations: 0.4904 MB / 0.7279 GB, free: 84.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008063/1.404, allocations: 6.412 MB / 0.7342 GB, free: 81.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.404, allocations: 3.875 kB / 0.7342 GB, free: 81.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/1.407, allocations: 2.112 MB / 0.7362 GB, free: 80.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.41, allocations: 0.6294 MB / 0.7368 GB, free: 80.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.422, allocations: 6.446 MB / 0.7431 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.424, allocations: 2.931 MB / 0.746 GB, free: 76.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003759/1.428, allocations: 1.036 MB / 0.747 GB, free: 76.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/1.428, allocations: 137.8 kB / 0.7471 GB, free: 76.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/1.428, allocations: 0 / 0.7471 GB, free: 76.52 MB / 426.7 MB Notification: Performance of Templates: time 0.08257/1.511, allocations: 55.7 MB / 0.8015 GB, free: 39.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches