Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 187 kB / 17.91 MB, free: 3.855 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.253/1.253, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.001009/0.001009, allocations: 102.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007413/0.0007415, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2203, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.0103/0.2306, allocations: 11.33 MB / 385.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006651/0.2373, allocations: 3.882 MB / 389 MB, free: 33.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.2395, allocations: 48.03 kB / 389.1 MB, free: 33.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.2421, allocations: 0.7304 MB / 389.8 MB, free: 33.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2455, allocations: 0.8596 MB / 390.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.247, allocations: 467.1 kB / 391.1 MB, free: 32.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.2508, allocations: 3.622 MB / 394.7 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.2534, allocations: 2.129 MB / 396.9 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.255, allocations: 1.253 MB / 398.1 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.2574, allocations: 1.739 MB / 399.9 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.2582, allocations: 236 kB / 400.1 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.2595, allocations: 495.5 kB / 400.6 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.2602, allocations: 0.919 MB / 401.5 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.2615, allocations: 1.555 MB / 403.1 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.2641, allocations: 4.883 MB / 407.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2641, allocations: 0 / 407.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2641, allocations: 0 / 407.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.2642, allocations: 0 / 407.9 MB, free: 15.23 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005316/0.2695, allocations: 3.476 MB / 411.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2695, allocations: 12.03 kB / 411.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.2706, allocations: 409 kB / 411.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.2732, allocations: 1.71 MB / 413.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2733, allocations: 201.3 kB / 413.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.2736, allocations: 251.8 kB / 414 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.2774, allocations: 3.243 MB / 417.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.2775, allocations: 11.84 kB / 417.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.2776, allocations: 104 kB / 417.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/0.2777, allocations: 112.9 kB / 417.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.2811, allocations: 2.705 MB / 420.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.2947, allocations: 10.36 MB / 430.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.2967, allocations: 1.793 MB / 432.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.2984, allocations: 1.045 MB / 433.4 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.2987, allocations: 207.2 kB / 433.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.2987, allocations: 47.55 kB / 433.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 3.496e-06/0.2987, allocations: 4 kB / 433.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.0164/0.3151, allocations: 7.417 MB / 441 MB, free: 13.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3152, allocations: 64.72 kB / 441.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.3177, allocations: 1.872 MB / 443 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.654e-05/0.3178, allocations: 49.69 kB / 443 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/0.3186, allocations: 1.245 MB / 444.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.3189, allocations: 469.3 kB / 444.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/0.3194, allocations: 295.3 kB / 445 MB, free: 9.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.3195, allocations: 305.1 kB / 445.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3207, allocations: 0.8081 MB / 446.1 MB, free: 8.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.3223, allocations: 1.313 MB / 447.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.3252, allocations: 2.255 MB / 449.7 MB, free: 4.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3252, allocations: 4 kB / 449.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004482/0.3297, allocations: 2.787 MB / 452.5 MB, free: 1.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.3297, allocations: 12 kB / 452.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.3298, allocations: 16 kB / 452.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.3307, allocations: 430.1 kB / 452.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.3321, allocations: 403.3 kB / 453.3 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/0.3376, allocations: 5.293 MB / 458.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3392, allocations: 127.9 kB / 458.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.3393, allocations: 72 kB / 458.8 MB, free: 10.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.3406, allocations: 0.79 MB / 459.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.3409, allocations: 193.7 kB / 459.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.3449, allocations: 2.383 MB / 462.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.3449, allocations: 12 kB / 462.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3449, allocations: 4 kB / 462.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3449, allocations: 7.969 kB / 462.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008269/0.3532, allocations: 5.286 MB / 467.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3533, allocations: 4 kB / 467.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.3542, allocations: 255.6 kB / 467.7 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.3553, allocations: 466 kB / 468.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/0.3554, allocations: 39.92 kB / 468.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006305/0.3618, allocations: 6.725 MB / 474.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.3618, allocations: 11.94 kB / 474.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02962/0.3914, allocations: 22.04 MB / 497 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/0.3923, allocations: 450.8 kB / 497.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.3925, allocations: 39.94 kB / 497.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.3936, allocations: 107.8 kB / 497.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.3939, allocations: 116.7 kB / 497.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/0.394, allocations: 40 kB / 497.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.3957, allocations: 1.291 MB / 499 MB, free: 1.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 499 MB, free: 1.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00224/0.398, allocations: 0.7501 MB / 499.8 MB, free: 360 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * 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 {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003984/0.3984, allocations: 214.1 kB / 500 MB, free: 140 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.402, allocations: 2.416 MB / 0.4906 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.402, allocations: 0 / 0.4906 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4042, allocations: 1.506 MB / 0.4921 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.4062, allocations: 419.1 kB / 0.4925 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4168, allocations: 7.638 MB / 0.4999 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/0.4186, allocations: 2.053 MB / 0.502 GB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001594/0.4202, allocations: 439.6 kB / 0.5024 GB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.4208, allocations: 131.4 kB / 0.5025 GB, free: 1.289 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4208, allocations: 0 / 0.5025 GB, free: 1.289 MB / 394.7 MB Notification: Performance of Templates: time 0.1998/0.6206, allocations: 31.22 MB / 0.533 GB, free: 101.6 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches