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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 93.7 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.001519/0.001519, allocations: 179.4 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.882/1.882, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005258/0.0005262, allocations: 12 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01361/0.1552, allocations: 9.248 MB / 337.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1662, allocations: 3.808 MB / 341.4 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.1694, allocations: 51.75 kB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.173, allocations: 0.6648 MB / 342.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.1792, allocations: 0.8179 MB / 342.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.1813, allocations: 335.5 kB / 343.2 MB, free: 5.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006452/0.1878, allocations: 2.106 MB / 345.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.1908, allocations: 1.686 MB / 347 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1933, allocations: 1.012 MB / 348 MB, free: 276 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.1957, allocations: 1.315 MB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.1962, allocations: 164 kB / 349.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1974, allocations: 355.7 kB / 349.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009535/0.1984, allocations: 0.7672 MB / 350.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009713/0.1994, allocations: 0.5822 MB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.204, allocations: 3.997 MB / 355.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2041, allocations: 0 / 355.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2041, allocations: 0 / 355.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001613/0.2043, allocations: 0 / 355.2 MB, free: 9.074 MB / 302.1 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.008342/0.2126, allocations: 2.985 MB / 358.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.2127, allocations: 12.02 kB / 358.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.2148, allocations: 412.1 kB / 358.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.2196, allocations: 1.679 MB / 360.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.2199, allocations: 201 kB / 360.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.2203, allocations: 255.8 kB / 360.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.2274, allocations: 3.216 MB / 364 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/0.2275, allocations: 3.953 kB / 364 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.2278, allocations: 104 kB / 364.1 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.228, allocations: 120.9 kB / 364.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005448/0.2335, allocations: 2.701 MB / 366.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.2563, allocations: 10.41 MB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.259, allocations: 1.784 MB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000354/0.2594, allocations: 199.2 kB / 379.3 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.2595, allocations: 51.55 kB / 379.3 MB, free: 260 kB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.26e-06/0.2595, allocations: 0 / 379.3 MB, free: 260 kB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.3877/0.6473, allocations: 7.869 MB / 387.2 MB, free: 36.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6474, allocations: 66.47 kB / 387.3 MB, free: 36.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005871/0.6533, allocations: 1.841 MB / 389.1 MB, free: 35.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.6537, allocations: 46.23 kB / 389.1 MB, free: 35.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.6552, allocations: 1.246 MB / 390.4 MB, free: 35.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000678/0.6559, allocations: 470.1 kB / 390.8 MB, free: 34.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.656, allocations: 34.5 kB / 390.9 MB, free: 34.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.6562, allocations: 374.6 kB / 391.2 MB, free: 34.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.6583, allocations: 0.828 MB / 392.1 MB, free: 34.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.6603, allocations: 1.319 MB / 393.4 MB, free: 34.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.6624, allocations: 1.026 MB / 394.4 MB, free: 34.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.6625, allocations: 4.125 kB / 394.4 MB, free: 34.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006437/0.6689, allocations: 2.792 MB / 397.2 MB, free: 33.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.669, allocations: 11.75 kB / 397.2 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.669, allocations: 15.25 kB / 397.2 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6702, allocations: 395.2 kB / 397.6 MB, free: 33.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.6718, allocations: 419.5 kB / 398 MB, free: 33.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006366/0.6782, allocations: 5.205 MB / 403.2 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.6807, allocations: 138.4 kB / 403.4 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.6809, allocations: 73.5 kB / 403.5 MB, free: 30.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (190): * Single equations (assignments): 185 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001883/0.6828, allocations: 0.7923 MB / 404.2 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/0.6834, allocations: 194.8 kB / 404.4 MB, free: 30.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.6869, allocations: 2.4 MB / 406.8 MB, free: 28.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.687, allocations: 20.88 kB / 406.9 MB, free: 28.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.687, allocations: 4 kB / 406.9 MB, free: 28.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.687, allocations: 8.734 kB / 406.9 MB, free: 28.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.6948, allocations: 5.26 MB / 412.1 MB, free: 23.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6948, allocations: 11.25 kB / 412.1 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.6958, allocations: 264.2 kB / 412.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009885/0.6968, allocations: 440.7 kB / 412.8 MB, free: 22.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/0.6969, allocations: 35.98 kB / 412.9 MB, free: 22.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/0.7023, allocations: 6.693 MB / 419.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7023, allocations: 7.844 kB / 419.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.7074, allocations: 3.909 MB / 423.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.7087, allocations: 458.5 kB / 423.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.7091, allocations: 39.98 kB / 424 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.7102, allocations: 107.9 kB / 424.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.7105, allocations: 111 kB / 424.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.7106, allocations: 43.98 kB / 424.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001795/0.7124, allocations: 1.267 MB / 425.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7124, allocations: 4 kB / 425.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002214/0.7146, allocations: 0.539 MB / 426 MB, free: 8.934 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (118): * Single equations (assignments): 113 * 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%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.715, allocations: 183 kB / 426.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003738/0.7187, allocations: 2.412 MB / 428.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.7188, allocations: 1.938 kB / 428.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.721, allocations: 1.522 MB / 430.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7232, allocations: 413.3 kB / 430.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7333, allocations: 6.07 MB / 436.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.7355, allocations: 2.052 MB / 438.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002/0.7375, allocations: 435.6 kB / 439.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.738, allocations: 135.4 kB / 439.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.885e-06/0.738, allocations: 4 kB / 439.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Templates: time 0.05466/0.7927, allocations: 25.67 MB / 464.9 MB, free: 2.023 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches