Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 82.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.404e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07198/0.07201, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.3659, allocations: 106.8 MB / 469.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.3662, allocations: 83.64 kB / 469.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1297/0.4959, allocations: 49.54 MB / 0.5073 GB, free: 8.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4959, allocations: 0 / 0.5073 GB, free: 8.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001758/0.4961, allocations: 59.94 kB / 0.5074 GB, free: 8.859 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005186/0.5013, allocations: 2.502 MB / 0.5098 GB, free: 6.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5014, allocations: 8.031 kB / 0.5098 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.5023, allocations: 332.3 kB / 0.5101 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.5054, allocations: 1.776 MB / 0.5119 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.5055, allocations: 79.95 kB / 0.5119 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.5058, allocations: 139.9 kB / 0.5121 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003795/0.5096, allocations: 2.317 MB / 0.5143 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.5139, allocations: 2.693 MB / 0.517 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.514, allocations: 7.906 kB / 0.517 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.5142, allocations: 4 kB / 0.517 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/0.5143, allocations: 108.6 kB / 0.5171 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.5278, allocations: 9.316 MB / 0.5262 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.5302, allocations: 2.12 MB / 0.5282 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.5315, allocations: 0.899 MB / 0.5291 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.5319, allocations: 219.5 kB / 0.5293 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5319, allocations: 52.53 kB / 0.5294 GB, free: 1.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.717e-06/0.5319, allocations: 0 / 0.5294 GB, free: 1.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.2049/0.7369, allocations: 5.276 MB / 0.5345 GB, free: 102.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.7369, allocations: 67.08 kB / 0.5346 GB, free: 102.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.739, allocations: 1.273 MB / 0.5358 GB, free: 102.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.7392, allocations: 27.33 kB / 0.5359 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/0.74, allocations: 1.14 MB / 0.537 GB, free: 101.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.7403, allocations: 478.4 kB / 0.5374 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.7404, allocations: 0 / 0.5374 GB, free: 101.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7405, allocations: 372.6 kB / 0.5378 GB, free: 101.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.7416, allocations: 0.7728 MB / 0.5385 GB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.7428, allocations: 1.142 MB / 0.5397 GB, free: 101 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.7442, allocations: 0.9452 MB / 0.5406 GB, free: 101 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.7442, allocations: 3.531 kB / 0.5406 GB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004453/0.7487, allocations: 2.566 MB / 0.5431 GB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.7487, allocations: 13 kB / 0.5431 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.7488, allocations: 12.14 kB / 0.5431 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.7502, allocations: 0.5746 MB / 0.5437 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.7518, allocations: 371.6 kB / 0.544 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006922/0.7587, allocations: 6.061 MB / 0.55 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7605, allocations: 89.05 kB / 0.55 GB, free: 98.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.7606, allocations: 66.47 kB / 0.5501 GB, free: 98.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * Array equations: 0 * 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 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.761, allocations: 146.2 kB / 0.5502 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.7612, allocations: 173.5 kB / 0.5504 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.7648, allocations: 2.402 MB / 0.5528 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7648, allocations: 13.41 kB / 0.5528 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7648, allocations: 5.25 kB / 0.5528 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7649, allocations: 7.047 kB / 0.5528 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007437/0.7723, allocations: 4.865 MB / 0.5575 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.7723, allocations: 7.719 kB / 0.5575 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/0.7733, allocations: 239 kB / 0.5578 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.7748, allocations: 0.6321 MB / 0.5584 GB, free: 97.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7749, allocations: 15.62 kB / 0.5584 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/0.7819, allocations: 7.738 MB / 0.566 GB, free: 92.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.782, allocations: 5.094 kB / 0.566 GB, free: 92.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004819/0.7868, allocations: 3.716 MB / 0.5696 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.7878, allocations: 436.6 kB / 0.57 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.788, allocations: 9.266 kB / 0.57 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.789, allocations: 80.84 kB / 0.5701 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.7893, allocations: 134 kB / 0.5702 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.7894, allocations: 38.62 kB / 0.5703 GB, free: 90.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.7906, allocations: 0.959 MB / 0.5712 GB, free: 89.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7906, allocations: 0 / 0.5712 GB, free: 89.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001898/0.7925, allocations: 0.4978 MB / 0.5717 GB, free: 89.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * Array equations: 0 * 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 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005437/0.7931, allocations: 299.8 kB / 0.572 GB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.7963, allocations: 2.389 MB / 0.5743 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7963, allocations: 3.75 kB / 0.5743 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.7983, allocations: 1.572 MB / 0.5758 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.8004, allocations: 348.3 kB / 0.5762 GB, free: 87.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/0.8063, allocations: 4.054 MB / 0.5801 GB, free: 86.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.8077, allocations: 2.068 MB / 0.5821 GB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.809, allocations: 420.1 kB / 0.5825 GB, free: 85.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.8093, allocations: 116 kB / 0.5827 GB, free: 85.06 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.8093, allocations: 4 kB / 0.5827 GB, free: 85.06 MB / 410.7 MB Notification: Performance of Templates: time 0.03497/0.8443, allocations: 24.56 MB / 0.6066 GB, free: 75.65 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches