Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001189/0.001189, allocations: 175.9 kB / 16.72 MB, free: 4.961 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.63/1.63, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008698/0.0008696, allocations: 96.34 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01135/0.3202, allocations: 10.1 MB / 385.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.3293, allocations: 3.687 MB / 388.9 MB, free: 34.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.3322, allocations: 51 kB / 388.9 MB, free: 34.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.3351, allocations: 0.6767 MB / 389.6 MB, free: 33.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.3394, allocations: 0.8177 MB / 390.4 MB, free: 33.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.3412, allocations: 339.5 kB / 390.8 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004541/0.3457, allocations: 3.285 MB / 394 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.3484, allocations: 2.116 MB / 396.2 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3507, allocations: 1.074 MB / 397.2 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.3531, allocations: 1.486 MB / 398.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004721/0.3536, allocations: 164 kB / 398.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3549, allocations: 411.5 kB / 399.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.3556, allocations: 0.806 MB / 400.1 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.3573, allocations: 1.393 MB / 401.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.3605, allocations: 4.036 MB / 405.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3606, allocations: 0 / 405.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3606, allocations: 0 / 405.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.3607, allocations: 0 / 405.5 MB, free: 18.12 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.005939/0.3667, allocations: 2.954 MB / 408.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3667, allocations: 12.02 kB / 408.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3682, allocations: 417 kB / 408.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.3712, allocations: 1.718 MB / 410.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.3714, allocations: 197.3 kB / 410.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.3717, allocations: 251.9 kB / 411 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/0.377, allocations: 3.239 MB / 414.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.3771, allocations: 11.84 kB / 414.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.3773, allocations: 108 kB / 414.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.3774, allocations: 116.9 kB / 414.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004759/0.3822, allocations: 2.697 MB / 417.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.4, allocations: 10.43 MB / 427.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.4027, allocations: 1.797 MB / 429.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4046, allocations: 1.057 MB / 430.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.4049, allocations: 207.2 kB / 430.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.405, allocations: 47.56 kB / 430.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 4.167e-06/0.405, allocations: 0 / 430.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.0189/0.4239, allocations: 7.758 MB / 438.5 MB, free: 304 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.424, allocations: 68.66 kB / 438.6 MB, free: 220 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.4274, allocations: 1.861 MB / 440.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.4276, allocations: 53.7 kB / 440.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000978/0.4286, allocations: 1.241 MB / 441.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.4291, allocations: 465.2 kB / 442.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.4292, allocations: 28 kB / 442.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4294, allocations: 377.9 kB / 442.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4309, allocations: 0.8237 MB / 443.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4326, allocations: 1.321 MB / 444.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.4359, allocations: 2.278 MB / 447 MB, free: 7.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.436, allocations: 8 kB / 447 MB, free: 7.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005221/0.4412, allocations: 2.818 MB / 449.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.4413, allocations: 12 kB / 449.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.4413, allocations: 16 kB / 449.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4425, allocations: 418.5 kB / 450.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.444, allocations: 407.3 kB / 450.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.4507, allocations: 5.296 MB / 456 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.4528, allocations: 139.8 kB / 456.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.4532, allocations: 71.98 kB / 456.2 MB, free: 13.84 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002076/0.4553, allocations: 0.7901 MB / 457 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/0.4561, allocations: 193.7 kB / 457.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.4611, allocations: 2.414 MB / 459.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.4612, allocations: 16 kB / 459.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.4612, allocations: 4 kB / 459.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4613, allocations: 7.969 kB / 459.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.4753, allocations: 5.306 MB / 464.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.4754, allocations: 4 kB / 464.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4765, allocations: 263.7 kB / 465.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.4779, allocations: 458.1 kB / 465.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.4781, allocations: 39.98 kB / 465.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007613/0.4857, allocations: 6.726 MB / 472.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.4857, allocations: 11.94 kB / 472.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007198/0.4929, allocations: 3.62 MB / 476 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/0.4948, allocations: 458.5 kB / 476.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000764/0.4955, allocations: 51.92 kB / 476.5 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.4972, allocations: 103.9 kB / 476.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.4976, allocations: 116.7 kB / 476.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.4977, allocations: 43.98 kB / 476.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002928/0.5007, allocations: 1.275 MB / 478 MB, free: 7.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5007, allocations: 0 / 478 MB, free: 7.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00323/0.5039, allocations: 0.5507 MB / 478.6 MB, free: 6.676 MB / 362.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 (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 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007071/0.5047, allocations: 218.8 kB / 478.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005094/0.5098, allocations: 2.431 MB / 481.2 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.5098, allocations: 0.875 kB / 481.2 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.5127, allocations: 1.529 MB / 482.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/0.5171, allocations: 416.9 kB / 483.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.5302, allocations: 6.142 MB / 489.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/0.534, allocations: 1.995 MB / 491.3 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5351, allocations: 139.4 kB / 491.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5351, allocations: 0 / 491.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of Templates: time 0.3099/0.845, allocations: 69.66 MB / 0.5479 GB, free: 54.49 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches