Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001594/0.001594, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.0009898, allocations: 52.28 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.08085, allocations: 49.45 MB / 351.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01642/0.09731, allocations: 16.63 MB / 368.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1538/0.2511, allocations: 5.419 MB / 373.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.2537, allocations: 102.7 kB / 373.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003618/0.2574, allocations: 1.249 MB / 374.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.2623, allocations: 1.614 MB / 376.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.2651, allocations: 1.041 MB / 377.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007143/0.2723, allocations: 5.118 MB / 382.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006115/0.2785, allocations: 4.314 MB / 387 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.2822, allocations: 2.177 MB / 389.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.2866, allocations: 2.603 MB / 391.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.288, allocations: 0.6119 MB / 392.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.2904, allocations: 0.8374 MB / 393.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.2915, allocations: 1.424 MB / 394.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.2947, allocations: 2.637 MB / 397.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006794/0.3015, allocations: 8.087 MB / 405.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3015, allocations: 0 / 405.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3015, allocations: 0 / 405.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001862/0.3017, allocations: 0 / 405.4 MB, free: 11.1 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01413/0.3159, allocations: 5.372 MB / 410.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3159, allocations: 8.031 kB / 410.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/0.3215, allocations: 0.9846 MB / 411.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006456/0.328, allocations: 2.975 MB / 414.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.3283, allocations: 299.3 kB / 415 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.3295, allocations: 403.8 kB / 415.4 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.3406, allocations: 5.216 MB / 420.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.469e-05/0.3407, allocations: 0 / 420.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.3411, allocations: 168 kB / 420.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.3413, allocations: 172 kB / 421 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008851/0.3501, allocations: 4.462 MB / 425.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/0.3781, allocations: 16.58 MB / 442 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007344/0.3855, allocations: 8.425 MB / 450.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.3884, allocations: 1.693 MB / 452.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008172/0.3966, allocations: 4.971 MB / 457.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3967, allocations: 55.88 kB / 457.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 1.627e-05/0.3967, allocations: 0 / 457.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01303/0.4097, allocations: 6.137 MB / 463.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4098, allocations: 68.72 kB / 463.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.4133, allocations: 2.282 MB / 465.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.4136, allocations: 53.7 kB / 465.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.4149, allocations: 1.846 MB / 467.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/0.4154, allocations: 0.5548 MB / 468.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/0.416, allocations: 391.6 kB / 468.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.4161, allocations: 305.1 kB / 468.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.4176, allocations: 0.8475 MB / 469.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.4196, allocations: 1.563 MB / 471.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.4232, allocations: 2.558 MB / 473.7 MB, free: 4.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4232, allocations: 4 kB / 473.7 MB, free: 4.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0056/0.4288, allocations: 2.88 MB / 476.6 MB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4289, allocations: 20 kB / 476.6 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.4289, allocations: 23.94 kB / 476.7 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.4293, allocations: 121.7 kB / 476.8 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.4314, allocations: 0.5382 MB / 477.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.4334, allocations: 1.997 MB / 479.3 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4353, allocations: 107.9 kB / 479.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.4354, allocations: 104 kB / 479.5 MB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002247/0.4377, allocations: 1.18 MB / 480.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.4382, allocations: 245 kB / 480.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.4426, allocations: 2.448 MB / 483.4 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4426, allocations: 20 kB / 483.4 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4426, allocations: 7.938 kB / 483.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.4427, allocations: 11.95 kB / 483.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00947/0.4521, allocations: 5.779 MB / 489.2 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4522, allocations: 0 / 489.2 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.4535, allocations: 283.6 kB / 489.5 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008227/0.4543, allocations: 318.4 kB / 489.8 MB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.4544, allocations: 39.98 kB / 489.8 MB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006812/0.4612, allocations: 6.96 MB / 496.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4613, allocations: 3.938 kB / 496.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/0.467, allocations: 3.552 MB / 0.4886 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.4683, allocations: 0.4902 MB / 0.4891 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.4686, allocations: 39.94 kB / 0.4891 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.4697, allocations: 83.92 kB / 0.4892 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.47, allocations: 117.1 kB / 0.4893 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.4701, allocations: 47.98 kB / 0.4894 GB, free: 7.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002295/0.4724, allocations: 1.549 MB / 0.4909 GB, free: 6.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4724, allocations: 0 / 0.4909 GB, free: 6.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002089/0.4745, allocations: 0.6719 MB / 0.4915 GB, free: 5.688 MB / 414.1 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.4748, allocations: 177.5 kB / 0.4917 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.4785, allocations: 2.274 MB / 0.4939 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4785, allocations: 8.25 kB / 0.4939 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.4812, allocations: 1.429 MB / 0.4953 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/0.4851, allocations: 0.605 MB / 0.4959 GB, free: 1.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.503, allocations: 6.863 MB / 0.5026 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/0.507, allocations: 2.669 MB / 0.5052 GB, free: 7.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002932/0.5099, allocations: 0.5552 MB / 0.5058 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.5107, allocations: 167.4 kB / 0.5059 GB, free: 6.809 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5107, allocations: 0 / 0.5059 GB, free: 6.809 MB / 430.1 MB Notification: Performance of Templates: time 0.2135/0.7242, allocations: 30.11 MB / 0.5353 GB, free: 145.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches