Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 96.25 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 180 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006672/0.0006673, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09685, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02425/0.1211, allocations: 23.48 MB / 351.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.1379, allocations: 7.951 MB / 359.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005624/0.1436, allocations: 159.3 kB / 359.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005773/0.1494, allocations: 1.406 MB / 361.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009678/0.1591, allocations: 2.403 MB / 363.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005329/0.1645, allocations: 1.17 MB / 364.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.1791, allocations: 6.969 MB / 371.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.1902, allocations: 6.127 MB / 378 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1764/0.3667, allocations: 3.184 MB / 381.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008446/0.3752, allocations: 3.889 MB / 385.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004126/0.3793, allocations: 0.5354 MB / 385.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007473/0.3868, allocations: 0.8296 MB / 386.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005464/0.3924, allocations: 1.942 MB / 388.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004793/0.3972, allocations: 1.899 MB / 390.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4133, allocations: 14.27 MB / 404.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4134, allocations: 0 / 404.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.159e-06/0.4134, allocations: 3.984 kB / 404.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006807/0.4141, allocations: 0.7812 kB / 404.6 MB, free: 9.25 MB / 318.1 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.02642/0.4405, allocations: 9.286 MB / 413.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4405, allocations: 7.75 kB / 413.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.4532, allocations: 2.086 MB / 415.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.4658, allocations: 5.419 MB / 421.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005714/0.4664, allocations: 0.6506 MB / 422 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/0.4691, allocations: 0.8423 MB / 422.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0286/0.4977, allocations: 11.33 MB / 434.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002953/0.498, allocations: 13.17 kB / 434.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001996/0.5, allocations: 359.1 kB / 434.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004393/0.5005, allocations: 376.7 kB / 434.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/0.5257, allocations: 9.653 MB / 444.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07308/0.5988, allocations: 36 MB / 480.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/0.6167, allocations: 16.95 MB / 497.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0195/0.6362, allocations: 9.389 MB / 0.495 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.6364, allocations: 76.69 kB / 0.4951 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=330): time 5.15e-06/0.6364, allocations: 0 / 0.4951 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=384): time 0.03837/0.6747, allocations: 16.86 MB / 0.5116 GB, free: 15.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.6748, allocations: 100.3 kB / 0.5117 GB, free: 15.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/0.682, allocations: 4.412 MB / 0.516 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007466/0.6828, allocations: 89.7 kB / 0.5161 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002977/0.6858, allocations: 3.841 MB / 0.5198 GB, free: 6.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001623/0.6875, allocations: 1.296 MB / 0.5211 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.6878, allocations: 92 kB / 0.5212 GB, free: 5.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.6881, allocations: 496.2 kB / 0.5216 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.6917, allocations: 2.008 MB / 0.5236 GB, free: 3.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.6964, allocations: 3.412 MB / 0.5269 GB, free: 14.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.7013, allocations: 2.606 MB / 0.5295 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.885e-05/0.7014, allocations: 12 kB / 0.5295 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.01362/0.715, allocations: 6.767 MB / 0.5361 GB, free: 5.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.7151, allocations: 24.62 kB / 0.5361 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.451e-05/0.7152, allocations: 44 kB / 0.5362 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.7174, allocations: 0.7771 MB / 0.5369 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/0.7225, allocations: 1.117 MB / 0.538 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1898/0.9123, allocations: 10.56 MB / 0.5483 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/0.9171, allocations: 256.2 kB / 0.5486 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00075/0.9179, allocations: 209 kB / 0.5488 GB, free: 144.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (545): * Single equations (assignments): 537 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005221/0.9231, allocations: 2.539 MB / 0.5512 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/0.9247, allocations: 493.4 kB / 0.5517 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.9363, allocations: 5.788 MB / 0.5574 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.035e-05/0.9365, allocations: 38.59 kB / 0.5574 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/0.9366, allocations: 19.25 kB / 0.5574 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.9366, allocations: 17.62 kB / 0.5574 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/0.9625, allocations: 13.93 MB / 0.571 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.9626, allocations: 8.062 kB / 0.5711 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/0.9655, allocations: 0.6738 MB / 0.5717 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.9676, allocations: 0.9062 MB / 0.5726 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004137/0.9681, allocations: 93.69 kB / 0.5727 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.9808, allocations: 14.35 MB / 0.5867 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.9808, allocations: 7.938 kB / 0.5867 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.9944, allocations: 9.228 MB / 0.5957 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003788/0.9983, allocations: 1.012 MB / 0.5967 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/0.9999, allocations: 76 kB / 0.5968 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004306/1.004, allocations: 224.8 kB / 0.597 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008402/1.005, allocations: 291 kB / 0.5973 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1.005, allocations: 107.5 kB / 0.5974 GB, free: 115.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005455/1.011, allocations: 2.989 MB / 0.6003 GB, free: 112.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.011, allocations: 0 / 0.6003 GB, free: 112.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007363/1.018, allocations: 1.492 MB / 0.6017 GB, free: 111.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (306): * Single equations (assignments): 299 * 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.0008775/1.019, allocations: 246.7 kB / 0.602 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008539/1.028, allocations: 5.871 MB / 0.6077 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.028, allocations: 7.844 kB / 0.6077 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005155/1.033, allocations: 3.572 MB / 0.6112 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/1.038, allocations: 1.062 MB / 0.6122 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/1.069, allocations: 18.03 MB / 0.6299 GB, free: 82.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008024/1.078, allocations: 5.24 MB / 0.635 GB, free: 77.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004625/1.082, allocations: 1.072 MB / 0.636 GB, free: 76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.083, allocations: 327.4 kB / 0.6363 GB, free: 75.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/1.083, allocations: 0 / 0.6363 GB, free: 75.68 MB / 446.1 MB Notification: Performance of Templates: time 0.1032/1.187, allocations: 64.93 MB / 0.6997 GB, free: 10.66 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches