Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 196.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.0007771, allocations: 97.53 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.000227, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2194, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.5216, allocations: 123.6 MB / 0.5205 GB, free: 93.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5218, allocations: 100.5 kB / 0.5206 GB, free: 93.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2259/0.7478, allocations: 105.7 MB / 0.6239 GB, free: 3.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7478, allocations: 4 kB / 0.6239 GB, free: 3.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005413/0.7484, allocations: 103.9 kB / 0.624 GB, free: 3.223 MB / 394.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.01482/0.7632, allocations: 4.708 MB / 0.6286 GB, free: 14.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7633, allocations: 12.03 kB / 0.6286 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005889/0.7692, allocations: 0.971 MB / 0.6295 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.7798, allocations: 3.411 MB / 0.6329 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.7805, allocations: 483.1 kB / 0.6333 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.7822, allocations: 412.3 kB / 0.6337 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.7966, allocations: 5.341 MB / 0.6389 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.7969, allocations: 0 / 0.6389 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.798, allocations: 176 kB / 0.6391 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.7982, allocations: 168.2 kB / 0.6393 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.8086, allocations: 4.331 MB / 0.6435 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03536/0.844, allocations: 18.01 MB / 0.6611 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/0.8517, allocations: 8.525 MB / 0.6694 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/0.8556, allocations: 2.233 MB / 0.6716 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2291/1.085, allocations: 6.285 MB / 0.6777 GB, free: 69.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/1.086, allocations: 1.28 MB / 0.679 GB, free: 69.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=182): time 3.477e-06/1.086, allocations: 0 / 0.679 GB, free: 69.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=214): time 0.01619/1.103, allocations: 8.708 MB / 0.6875 GB, free: 68.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.103, allocations: 338.2 kB / 0.6878 GB, free: 68.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/1.107, allocations: 2.461 MB / 0.6902 GB, free: 68.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003055/1.107, allocations: 75.64 kB / 0.6903 GB, free: 68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.108, allocations: 1.931 MB / 0.6922 GB, free: 67.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/1.109, allocations: 0.7174 MB / 0.6929 GB, free: 67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.109, allocations: 51.78 kB / 0.6929 GB, free: 67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/1.109, allocations: 406.4 kB / 0.6933 GB, free: 66.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.111, allocations: 1.112 MB / 0.6944 GB, free: 66.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.113, allocations: 1.887 MB / 0.6962 GB, free: 65.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/1.117, allocations: 3.007 MB / 0.6992 GB, free: 65.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/1.117, allocations: 10.22 kB / 0.6992 GB, free: 65.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=329) (initialization): time 0.006293/1.124, allocations: 4.049 MB / 0.7031 GB, free: 64.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00035/1.124, allocations: 0.6788 MB / 0.7038 GB, free: 63.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/1.124, allocations: 22.09 kB / 0.7038 GB, free: 63.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/1.126, allocations: 1.009 MB / 0.7048 GB, free: 63.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.128, allocations: 485.9 kB / 0.7053 GB, free: 63.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.14, allocations: 15.18 MB / 0.7201 GB, free: 54.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/1.143, allocations: 171.7 kB / 0.7203 GB, free: 54.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/1.143, allocations: 107 kB / 0.7204 GB, free: 54.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.143, allocations: 7.594 kB / 0.7204 GB, free: 54.41 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005527/1.149, allocations: 3.756 MB / 0.724 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/1.149, allocations: 16.12 kB / 0.724 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/1.151, allocations: 0.9964 MB / 0.725 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.153, allocations: 478.2 kB / 0.7255 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.164, allocations: 15.16 MB / 0.7403 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/1.167, allocations: 166 kB / 0.7404 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/1.167, allocations: 106.6 kB / 0.7405 GB, free: 41.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (275): * Single equations (assignments): 267 * 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: 7 * 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: 4 {(2,100.0%) 22,(1,100.0%) 12,(2,100.0%) 6,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002397/1.169, allocations: 1.351 MB / 0.7419 GB, free: 41.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/1.17, allocations: 288 kB / 0.7421 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/1.175, allocations: 3.406 MB / 0.7455 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.175, allocations: 21 kB / 0.7455 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.175, allocations: 0 / 0.7455 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/1.175, allocations: 11.58 kB / 0.7455 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0097/1.185, allocations: 7.275 MB / 0.7526 GB, free: 36.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.185, allocations: 5.781 kB / 0.7526 GB, free: 36.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.186, allocations: 292 kB / 0.7529 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/1.188, allocations: 1.08 MB / 0.7539 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.189, allocations: 63.88 kB / 0.754 GB, free: 36.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.199, allocations: 11.86 MB / 0.7656 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.2, allocations: 6.188 kB / 0.7656 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/1.206, allocations: 4.757 MB / 0.7702 GB, free: 25.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.207, allocations: 0.5999 MB / 0.7708 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.208, allocations: 62.78 kB / 0.7709 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.209, allocations: 129.2 kB / 0.771 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/1.209, allocations: 245.3 kB / 0.7712 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.209, allocations: 60.25 kB / 0.7713 GB, free: 25.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002109/1.212, allocations: 1.67 MB / 0.7729 GB, free: 24.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.212, allocations: 3.828 kB / 0.7729 GB, free: 24.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004314/1.216, allocations: 1.527 MB / 0.7744 GB, free: 24.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 148 * 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 {5 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005889/1.216, allocations: 448.8 kB / 0.7748 GB, free: 24.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008521/1.225, allocations: 6.804 MB / 0.7815 GB, free: 20.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.225, allocations: 4 kB / 0.7815 GB, free: 20.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/1.228, allocations: 2.179 MB / 0.7836 GB, free: 18.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.231, allocations: 0.6536 MB / 0.7843 GB, free: 17.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.245, allocations: 9.458 MB / 0.7935 GB, free: 9.211 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/1.247, allocations: 2.835 MB / 0.7963 GB, free: 6.984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002734/1.25, allocations: 0.7241 MB / 0.797 GB, free: 6.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/1.25, allocations: 186 kB / 0.7972 GB, free: 6.324 MB / 442.7 MB Notification: Performance of SimCode: time 9.91e-07/1.25, allocations: 0 / 0.7972 GB, free: 6.324 MB / 442.7 MB Notification: Performance of Templates: time 0.2704/1.52, allocations: 52.56 MB / 0.8485 GB, free: 91.71 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches