Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007789/0.0007789, allocations: 107.5 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002462, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2243, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/0.5225, allocations: 111.5 MB / 0.5087 GB, free: 98.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5228, allocations: 90.88 kB / 0.5088 GB, free: 98.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1428/0.6656, allocations: 65.64 MB / 0.5729 GB, free: 39.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6657, allocations: 3.938 kB / 0.5729 GB, free: 39.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002435/0.6659, allocations: 87.94 kB / 0.573 GB, free: 39.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00769/0.6736, allocations: 3.64 MB / 0.5765 GB, free: 36.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6737, allocations: 12.88 kB / 0.5766 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.6756, allocations: 480.1 kB / 0.577 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.6798, allocations: 2.468 MB / 0.5794 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.68, allocations: 234.5 kB / 0.5797 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/0.6805, allocations: 308.3 kB / 0.5799 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006298/0.6868, allocations: 4.346 MB / 0.5842 GB, free: 28.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/0.6869, allocations: 19.78 kB / 0.5842 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.6872, allocations: 124 kB / 0.5843 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.6873, allocations: 126 kB / 0.5844 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/0.6928, allocations: 3.611 MB / 0.588 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.7112, allocations: 13.61 MB / 0.6013 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.714, allocations: 2.957 MB / 0.6042 GB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.7162, allocations: 1.643 MB / 0.6058 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.7165, allocations: 139 kB / 0.6059 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.7166, allocations: 56.55 kB / 0.6059 GB, free: 5.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.088e-06/0.7166, allocations: 0 / 0.6059 GB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01776/0.7344, allocations: 9.354 MB / 0.6151 GB, free: 11.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.7345, allocations: 69.41 kB / 0.6151 GB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.7395, allocations: 2.319 MB / 0.6174 GB, free: 9.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004215/0.74, allocations: 57.7 kB / 0.6175 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.7414, allocations: 1.451 MB / 0.6189 GB, free: 7.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000904/0.7423, allocations: 0.6045 MB / 0.6195 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.7426, allocations: 44 kB / 0.6195 GB, free: 7.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.7428, allocations: 385.9 kB / 0.6199 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.7451, allocations: 1.132 MB / 0.621 GB, free: 5.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.7475, allocations: 1.55 MB / 0.6225 GB, free: 3.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/0.7521, allocations: 2.776 MB / 0.6252 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.7521, allocations: 4 kB / 0.6252 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007152/0.7593, allocations: 3.597 MB / 0.6287 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.7594, allocations: 12 kB / 0.6287 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.7594, allocations: 12 kB / 0.6288 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.7616, allocations: 0.798 MB / 0.6295 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.7635, allocations: 463.3 kB / 0.63 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.7741, allocations: 10.3 MB / 0.64 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.7763, allocations: 124 kB / 0.6402 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/0.7767, allocations: 76 kB / 0.6402 GB, free: 0.8438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002533/0.7792, allocations: 1.102 MB / 0.6413 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/0.7801, allocations: 245 kB / 0.6415 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00646/0.7866, allocations: 3.36 MB / 0.6448 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7866, allocations: 16 kB / 0.6448 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.7867, allocations: 11.94 kB / 0.6448 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.7867, allocations: 7.969 kB / 0.6448 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.8008, allocations: 6.911 MB / 0.6516 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.8008, allocations: 4.281 kB / 0.6516 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.8022, allocations: 315.5 kB / 0.6519 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.8047, allocations: 0.9312 MB / 0.6528 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.805, allocations: 43.98 kB / 0.6529 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.8185, allocations: 13.5 MB / 0.666 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8185, allocations: 4.031 kB / 0.666 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009291/0.8278, allocations: 4.987 MB / 0.6709 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2126/1.04, allocations: 0.5675 MB / 0.6715 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.041, allocations: 41.64 kB / 0.6715 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.042, allocations: 133.4 kB / 0.6716 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/1.043, allocations: 160.6 kB / 0.6718 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.043, allocations: 57.28 kB / 0.6718 GB, free: 102.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002695/1.046, allocations: 1.598 MB / 0.6734 GB, free: 102.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.046, allocations: 0.75 kB / 0.6734 GB, free: 102.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002549/1.048, allocations: 0.7384 MB / 0.6741 GB, free: 102.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000603/1.049, allocations: 361.4 kB / 0.6745 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004683/1.054, allocations: 3.624 MB / 0.678 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.054, allocations: 3.969 kB / 0.678 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.057, allocations: 2.566 MB / 0.6805 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.061, allocations: 0.6878 MB / 0.6812 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.072, allocations: 7.98 MB / 0.689 GB, free: 97.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/1.074, allocations: 2.525 MB / 0.6914 GB, free: 96.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00238/1.076, allocations: 0.5762 MB / 0.692 GB, free: 96.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/1.077, allocations: 161.2 kB / 0.6922 GB, free: 96.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/1.077, allocations: 0 / 0.6922 GB, free: 96.87 MB / 442.7 MB Notification: Performance of Templates: time 0.06519/1.142, allocations: 42.57 MB / 0.7337 GB, free: 85.47 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches