Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009514/0.0009513, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.451/1.451, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007042/0.0007042, allocations: 82.38 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.3594, allocations: 121.6 MB / 497.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3597, allocations: 91.95 kB / 497.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4285/0.7882, allocations: 102 MB / 0.5853 GB, free: 31.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7882, allocations: 0 / 0.5853 GB, free: 31.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003405/0.7886, allocations: 111.8 kB / 0.5854 GB, free: 31.57 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01336/0.802, allocations: 4.653 MB / 0.59 GB, free: 26.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.802, allocations: 8.031 kB / 0.59 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.8074, allocations: 0.9672 MB / 0.5909 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008042/0.8155, allocations: 3.391 MB / 0.5942 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.8159, allocations: 479.1 kB / 0.5947 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.8173, allocations: 420.2 kB / 0.5951 GB, free: 21.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.828, allocations: 5.353 MB / 0.6003 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.8282, allocations: 7.844 kB / 0.6003 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/0.8286, allocations: 180 kB / 0.6005 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.8287, allocations: 168.2 kB / 0.6007 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/0.8374, allocations: 4.319 MB / 0.6049 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03469/0.8721, allocations: 17.93 MB / 0.6224 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008442/0.8806, allocations: 8.27 MB / 0.6305 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.8843, allocations: 1.882 MB / 0.6323 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.895, allocations: 5.474 MB / 0.6377 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/0.897, allocations: 1.257 MB / 0.6389 GB, free: 6.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.94e-06/0.8971, allocations: 0 / 0.6389 GB, free: 6.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.236/1.133, allocations: 8.68 MB / 0.6474 GB, free: 70.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.133, allocations: 340.5 kB / 0.6477 GB, free: 70.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/1.137, allocations: 2.456 MB / 0.6501 GB, free: 69.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003601/1.137, allocations: 72.36 kB / 0.6501 GB, free: 69.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.139, allocations: 1.929 MB / 0.652 GB, free: 69.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/1.139, allocations: 0.7105 MB / 0.6527 GB, free: 69.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.14, allocations: 52.31 kB / 0.6528 GB, free: 69.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/1.14, allocations: 406.6 kB / 0.6532 GB, free: 68.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.141, allocations: 1.097 MB / 0.6542 GB, free: 68.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/1.143, allocations: 1.875 MB / 0.6561 GB, free: 68.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.147, allocations: 2.973 MB / 0.659 GB, free: 67.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.147, allocations: 10.94 kB / 0.659 GB, free: 67.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=329) (initialization): time 0.006424/1.153, allocations: 4.019 MB / 0.6629 GB, free: 66.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000386/1.154, allocations: 0.6847 MB / 0.6636 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.154, allocations: 22.44 kB / 0.6636 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/1.156, allocations: 1.017 MB / 0.6646 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.158, allocations: 488.6 kB / 0.6651 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.171, allocations: 14.2 MB / 0.6789 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.174, allocations: 179.1 kB / 0.6791 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/1.174, allocations: 108.2 kB / 0.6792 GB, free: 57.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.174, allocations: 3.938 kB / 0.6792 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00571/1.18, allocations: 3.724 MB / 0.6828 GB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.307e-05/1.18, allocations: 22.06 kB / 0.6829 GB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/1.182, allocations: 1.004 MB / 0.6838 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.184, allocations: 486 kB / 0.6843 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/1.198, allocations: 14.18 MB / 0.6981 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/1.201, allocations: 175.1 kB / 0.6983 GB, free: 49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/1.201, allocations: 107.6 kB / 0.6984 GB, free: 48.98 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 264 * 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.00288/1.204, allocations: 1.345 MB / 0.6997 GB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/1.205, allocations: 282.7 kB / 0.7 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.211, allocations: 3.375 MB / 0.7033 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.211, allocations: 18.91 kB / 0.7033 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.211, allocations: 3.219 kB / 0.7033 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.211, allocations: 10.97 kB / 0.7033 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.223, allocations: 7.196 MB / 0.7104 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.223, allocations: 0 / 0.7104 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.225, allocations: 295 kB / 0.7106 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/1.227, allocations: 1.073 MB / 0.7117 GB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/1.227, allocations: 60.31 kB / 0.7117 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/1.239, allocations: 11.77 MB / 0.7232 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.239, allocations: 4.844 kB / 0.7232 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007285/1.247, allocations: 4.698 MB / 0.7278 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.248, allocations: 0.5971 MB / 0.7284 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/1.249, allocations: 64.59 kB / 0.7285 GB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.25, allocations: 136.8 kB / 0.7286 GB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/1.251, allocations: 240.4 kB / 0.7288 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.251, allocations: 59.89 kB / 0.7289 GB, free: 32.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002324/1.253, allocations: 1.664 MB / 0.7305 GB, free: 31.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.253, allocations: 0 / 0.7305 GB, free: 31.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005186/1.258, allocations: 1.526 MB / 0.732 GB, free: 31.83 MB / 410.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.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 (153): * Single equations (assignments): 145 * 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.0006953/1.259, allocations: 431.1 kB / 0.7324 GB, free: 31.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008961/1.268, allocations: 6.567 MB / 0.7388 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.268, allocations: 0 / 0.7388 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.271, allocations: 2.131 MB / 0.7409 GB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/1.275, allocations: 0.6399 MB / 0.7415 GB, free: 25.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.29, allocations: 9.415 MB / 0.7507 GB, free: 16.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/1.292, allocations: 2.794 MB / 0.7535 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009094/1.293, allocations: 197.7 kB / 0.7536 GB, free: 14.47 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/1.293, allocations: 2.844 kB / 0.7536 GB, free: 14.47 MB / 410.7 MB Notification: Performance of Templates: time 0.3779/1.671, allocations: 170.6 MB / 0.9202 GB, free: 34.49 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches