Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|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",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|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",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 245.3 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007738, allocations: 99.53 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002286, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.184, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.4529, allocations: 121.6 MB / 0.5178 GB, free: 95.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4531, allocations: 97.75 kB / 0.5179 GB, free: 95.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5148/0.9679, allocations: 166.3 MB / 0.6803 GB, free: 68.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.9679, allocations: 3.938 kB / 0.6803 GB, free: 68.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002662/0.9682, allocations: 102.1 kB / 0.6804 GB, free: 68.06 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01157/0.9798, allocations: 4.374 MB / 0.6847 GB, free: 66.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.9798, allocations: 7.75 kB / 0.6847 GB, free: 66.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.985, allocations: 0.9645 MB / 0.6856 GB, free: 66.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007383/0.9924, allocations: 3.269 MB / 0.6888 GB, free: 65.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.9927, allocations: 304.1 kB / 0.6891 GB, free: 65.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.9937, allocations: 400.3 kB / 0.6895 GB, free: 65.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008751/1.002, allocations: 5.172 MB / 0.6945 GB, free: 65.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-05/1.003, allocations: 7.234 kB / 0.6945 GB, free: 65.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/1.003, allocations: 166.6 kB / 0.6947 GB, free: 65.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/1.003, allocations: 173.5 kB / 0.6949 GB, free: 65.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007502/1.011, allocations: 4.217 MB / 0.699 GB, free: 65.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/1.037, allocations: 16.97 MB / 0.7155 GB, free: 61.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006186/1.044, allocations: 8.684 MB / 0.724 GB, free: 54.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/1.047, allocations: 1.905 MB / 0.7259 GB, free: 54.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008494/1.055, allocations: 5.695 MB / 0.7314 GB, free: 52.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.055, allocations: 43.81 kB / 0.7315 GB, free: 52.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 3.827e-06/1.055, allocations: 2.156 kB / 0.7315 GB, free: 52.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=160): time 0.01174/1.067, allocations: 6.336 MB / 0.7377 GB, free: 49.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.067, allocations: 71 kB / 0.7377 GB, free: 49.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/1.071, allocations: 2.256 MB / 0.74 GB, free: 48.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/1.071, allocations: 55.56 kB / 0.74 GB, free: 48.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.072, allocations: 1.849 MB / 0.7418 GB, free: 47.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005063/1.073, allocations: 0.5492 MB / 0.7423 GB, free: 46.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.073, allocations: 39.66 kB / 0.7424 GB, free: 46.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/1.073, allocations: 394.6 kB / 0.7428 GB, free: 46.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.075, allocations: 0.8446 MB / 0.7436 GB, free: 46.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.076, allocations: 1.527 MB / 0.7451 GB, free: 44.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/1.079, allocations: 2.533 MB / 0.7475 GB, free: 43.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/1.079, allocations: 7.094 kB / 0.7476 GB, free: 43.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004764/1.084, allocations: 2.926 MB / 0.7504 GB, free: 42.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/1.084, allocations: 15.53 kB / 0.7504 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.084, allocations: 25.41 kB / 0.7505 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/1.085, allocations: 169.9 kB / 0.7506 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.087, allocations: 0.534 MB / 0.7511 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/1.089, allocations: 2.268 MB / 0.7534 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.09, allocations: 117 kB / 0.7535 GB, free: 40.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.091, allocations: 103 kB / 0.7536 GB, free: 40.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 260 * 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: 1 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002371/1.093, allocations: 1.19 MB / 0.7547 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/1.094, allocations: 247.3 kB / 0.755 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/1.098, allocations: 2.528 MB / 0.7574 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.098, allocations: 18.52 kB / 0.7574 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.098, allocations: 10.08 kB / 0.7575 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/1.098, allocations: 7.641 kB / 0.7575 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.109, allocations: 5.87 MB / 0.7632 GB, free: 35.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.109, allocations: 3.516 kB / 0.7632 GB, free: 35.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.11, allocations: 295.3 kB / 0.7635 GB, free: 35.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000864/1.111, allocations: 365.3 kB / 0.7638 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.111, allocations: 38.75 kB / 0.7639 GB, free: 35.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005546/1.117, allocations: 6.788 MB / 0.7705 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.117, allocations: 1.781 kB / 0.7705 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/1.122, allocations: 3.636 MB / 0.774 GB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.123, allocations: 0.4916 MB / 0.7745 GB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006302/1.124, allocations: 38.11 kB / 0.7746 GB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.125, allocations: 88.45 kB / 0.7746 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.126, allocations: 124.5 kB / 0.7748 GB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.126, allocations: 46.14 kB / 0.7748 GB, free: 27.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002715/1.129, allocations: 1.527 MB / 0.7763 GB, free: 27.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.129, allocations: 2.812 kB / 0.7763 GB, free: 27.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003047/1.132, allocations: 0.739 MB / 0.777 GB, free: 27.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007191/1.132, allocations: 412.6 kB / 0.7774 GB, free: 26.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003665/1.136, allocations: 2.307 MB / 0.7797 GB, free: 26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.136, allocations: 4.25 kB / 0.7797 GB, free: 26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.138, allocations: 1.484 MB / 0.7811 GB, free: 25.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.142, allocations: 0.5758 MB / 0.7817 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.155, allocations: 8.351 MB / 0.7898 GB, free: 18.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/1.157, allocations: 2.612 MB / 0.7924 GB, free: 16.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.157, allocations: 181.7 kB / 0.7926 GB, free: 16.05 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/1.157, allocations: 0 / 0.7926 GB, free: 16.05 MB / 442.7 MB Notification: Performance of Templates: time 0.2942/1.452, allocations: 96.58 MB / 0.8869 GB, free: 89.68 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches