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_Generator_MultiPhase.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_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 175 kB / 16.72 MB, free: 5.082 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.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007498/0.0007498, allocations: 96.91 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 15.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2645, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02278/0.2873, allocations: 25.94 MB / 401 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.3047, allocations: 7.638 MB / 408.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006687/0.3114, allocations: 167.3 kB / 408.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005598/0.317, allocations: 1.39 MB / 410.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.3276, allocations: 2.198 MB / 412.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.3327, allocations: 1.159 MB / 413.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.3476, allocations: 10.14 MB / 423.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.3613, allocations: 7.934 MB / 431.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008295/0.3697, allocations: 3.237 MB / 434.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00837/0.3782, allocations: 4.221 MB / 439.1 MB, free: 428 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00348/0.3817, allocations: 0.5391 MB / 439.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006443/0.3882, allocations: 0.8861 MB / 440.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004037/0.3922, allocations: 2.012 MB / 442.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01009/0.4024, allocations: 4.403 MB / 447 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01988/0.4223, allocations: 14.35 MB / 461.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.4224, allocations: 0 / 461.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4224, allocations: 0 / 461.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001005/0.4234, allocations: 4 kB / 461.3 MB, free: 10.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02926/0.4527, allocations: 9.217 MB / 470.5 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4527, allocations: 8.031 kB / 470.5 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4648, allocations: 2.089 MB / 472.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.4772, allocations: 5.513 MB / 478.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/0.4779, allocations: 0.6388 MB / 478.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/0.4807, allocations: 0.8552 MB / 479.6 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.511, allocations: 11.4 MB / 491 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000212/0.5113, allocations: 3.906 kB / 491 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/0.5126, allocations: 360 kB / 491.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/0.513, allocations: 373.5 kB / 491.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02415/0.5372, allocations: 9.657 MB / 0.4897 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4405/0.9777, allocations: 36.08 MB / 0.5249 GB, free: 72.19 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.9908, allocations: 16.96 MB / 0.5415 GB, free: 56.04 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00605/0.9969, allocations: 3.54 MB / 0.5449 GB, free: 52.49 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01705/1.014, allocations: 9.829 MB / 0.5545 GB, free: 42.53 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/1.014, allocations: 64.97 kB / 0.5546 GB, free: 42.45 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 5.751e-06/1.014, allocations: 0 / 0.5546 GB, free: 42.45 MB / 378.8 MB Notification: Performance of matching and sorting (n=360): time 0.03306/1.047, allocations: 15.76 MB / 0.57 GB, free: 26.49 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.047, allocations: 90.16 kB / 0.5701 GB, free: 26.39 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/1.054, allocations: 4.484 MB / 0.5744 GB, free: 21.9 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000651/1.055, allocations: 85.7 kB / 0.5745 GB, free: 21.81 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/1.057, allocations: 3.886 MB / 0.5783 GB, free: 17.9 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.058, allocations: 1.219 MB / 0.5795 GB, free: 16.69 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.058, allocations: 92 kB / 0.5796 GB, free: 16.6 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002268/1.058, allocations: 488 kB / 0.5801 GB, free: 16.11 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/1.061, allocations: 1.934 MB / 0.5819 GB, free: 14.17 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/1.065, allocations: 3.402 MB / 0.5853 GB, free: 10.1 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006631/1.072, allocations: 5.699 MB / 0.5908 GB, free: 3.73 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/1.072, allocations: 16 kB / 0.5908 GB, free: 3.715 MB / 378.8 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01157/1.083, allocations: 6.608 MB / 0.5973 GB, free: 13.04 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/1.083, allocations: 24 kB / 0.5973 GB, free: 13.01 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/1.083, allocations: 44 kB / 0.5974 GB, free: 12.97 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/1.085, allocations: 0.7479 MB / 0.5981 GB, free: 12.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.09, allocations: 1.08 MB / 0.5991 GB, free: 11.12 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.101, allocations: 10.17 MB / 0.6091 GB, free: 448 kB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.106, allocations: 259.6 kB / 0.6093 GB, free: 188 kB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008129/1.106, allocations: 200 kB / 0.6095 GB, free: 15.98 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006297/1.113, allocations: 2.546 MB / 0.612 GB, free: 13.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/1.114, allocations: 494 kB / 0.6125 GB, free: 12.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.125, allocations: 5.517 MB / 0.6179 GB, free: 7.332 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/1.125, allocations: 36 kB / 0.6179 GB, free: 7.297 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.125, allocations: 12 kB / 0.6179 GB, free: 7.285 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/1.125, allocations: 23.88 kB / 0.6179 GB, free: 7.262 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/1.15, allocations: 13.02 MB / 0.6307 GB, free: 10.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.15, allocations: 4 kB / 0.6307 GB, free: 10.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002727/1.153, allocations: 0.6243 MB / 0.6313 GB, free: 9.441 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/1.155, allocations: 0.929 MB / 0.6322 GB, free: 8.496 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/1.155, allocations: 87.97 kB / 0.6323 GB, free: 8.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/1.171, allocations: 14.11 MB / 0.646 GB, free: 9.641 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.171, allocations: 4 kB / 0.646 GB, free: 9.637 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.186, allocations: 8.115 MB / 0.654 GB, free: 1.324 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003406/1.189, allocations: 0.987 MB / 0.6549 GB, free: 320 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.19, allocations: 76 kB / 0.655 GB, free: 244 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.193, allocations: 211.8 kB / 0.6552 GB, free: 32 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2197/1.412, allocations: 271.6 kB / 0.6555 GB, free: 145.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003353/1.413, allocations: 104.2 kB / 0.6556 GB, free: 145.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005482/1.418, allocations: 3.034 MB / 0.6585 GB, free: 145.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.418, allocations: 0 / 0.6585 GB, free: 145.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00668/1.425, allocations: 1.48 MB / 0.66 GB, free: 145.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007696/1.426, allocations: 241.5 kB / 0.6602 GB, free: 145.2 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01023/1.436, allocations: 5.689 MB / 0.6658 GB, free: 143.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.436, allocations: 2.969 kB / 0.6658 GB, free: 143.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006019/1.442, allocations: 3.449 MB / 0.6691 GB, free: 141.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008556/1.451, allocations: 1.103 MB / 0.6702 GB, free: 141.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/1.482, allocations: 17.91 MB / 0.6877 GB, free: 129.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/1.486, allocations: 4.938 MB / 0.6925 GB, free: 126 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.488, allocations: 365.5 kB / 0.6929 GB, free: 125.7 MB / 442.8 MB Notification: Performance of SimCode: time 1.273e-06/1.488, allocations: 0 / 0.6929 GB, free: 125.7 MB / 442.8 MB Notification: Performance of Templates: time 0.7485/2.237, allocations: 338.5 MB / 1.023 GB, free: 132.1 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_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_Generator_MultiPhase/SMEE_Generator_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches