Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.174/1.174, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008537/0.0008537, allocations: 99.95 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001933/0.0001933, allocations: 4 kB / 357.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1883, allocations: 51.49 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3006, allocations: 105.4 MB / 0.5027 GB, free: 1.152 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.3008, allocations: 87.95 kB / 0.5028 GB, free: 1.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2462/0.5471, allocations: 41.63 MB / 0.5435 GB, free: 68.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5471, allocations: 0 / 0.5435 GB, free: 68.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.5473, allocations: 51.94 kB / 0.5435 GB, free: 68.81 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003523/0.5508, allocations: 2.217 MB / 0.5457 GB, free: 66.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5508, allocations: 8.031 kB / 0.5457 GB, free: 66.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.5515, allocations: 289 kB / 0.546 GB, free: 66.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.5538, allocations: 1.388 MB / 0.5473 GB, free: 64.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.5539, allocations: 147.8 kB / 0.5475 GB, free: 64.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.5541, allocations: 187.9 kB / 0.5477 GB, free: 64.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.5571, allocations: 2.401 MB / 0.55 GB, free: 61.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.5572, allocations: 11.84 kB / 0.55 GB, free: 61.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.5573, allocations: 79.98 kB / 0.5501 GB, free: 61.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.5574, allocations: 91.61 kB / 0.5502 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.5598, allocations: 1.861 MB / 0.552 GB, free: 59.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/0.5686, allocations: 7.841 MB / 0.5596 GB, free: 51.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.57, allocations: 1.301 MB / 0.5609 GB, free: 50.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.5702, allocations: 130.1 kB / 0.561 GB, free: 50.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.5702, allocations: 47.56 kB / 0.5611 GB, free: 50.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.925e-06/0.5702, allocations: 0 / 0.5611 GB, free: 50.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.009754/0.58, allocations: 5.83 MB / 0.5668 GB, free: 44.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.5801, allocations: 68.34 kB / 0.5668 GB, free: 44.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5813, allocations: 1.123 MB / 0.5679 GB, free: 43.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.5814, allocations: 45.7 kB / 0.568 GB, free: 43.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.5817, allocations: 0.9084 MB / 0.5689 GB, free: 42.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.5819, allocations: 398.2 kB / 0.5693 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.582, allocations: 28 kB / 0.5693 GB, free: 41.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.5821, allocations: 357.9 kB / 0.5696 GB, free: 41.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.5828, allocations: 0.6481 MB / 0.5703 GB, free: 40.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.5837, allocations: 0.9951 MB / 0.5712 GB, free: 39.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.5846, allocations: 0.795 MB / 0.572 GB, free: 38.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5847, allocations: 7.984 kB / 0.572 GB, free: 38.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002867/0.5875, allocations: 2.256 MB / 0.5742 GB, free: 36.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5876, allocations: 15.98 kB / 0.5742 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5876, allocations: 8 kB / 0.5742 GB, free: 36.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5886, allocations: 484.2 kB / 0.5747 GB, free: 36.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5896, allocations: 327.4 kB / 0.575 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.5943, allocations: 6.601 MB / 0.5815 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/0.5953, allocations: 95.83 kB / 0.5815 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.5954, allocations: 59.94 kB / 0.5816 GB, free: 28.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 144 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000893/0.5963, allocations: 0.6009 MB / 0.5822 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.5965, allocations: 146.2 kB / 0.5823 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.5991, allocations: 2 MB / 0.5843 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5991, allocations: 11.95 kB / 0.5843 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5991, allocations: 8 kB / 0.5843 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.5992, allocations: 3.984 kB / 0.5843 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/0.6045, allocations: 4.119 MB / 0.5883 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6045, allocations: 0 / 0.5883 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.6053, allocations: 195.8 kB / 0.5885 GB, free: 21.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.6064, allocations: 0.5349 MB / 0.589 GB, free: 20.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.6065, allocations: 31.98 kB / 0.5891 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.6119, allocations: 8.148 MB / 0.597 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6119, allocations: 4 kB / 0.597 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.6154, allocations: 3.03 MB / 0.6 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.616, allocations: 355.2 kB / 0.6003 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6162, allocations: 35.94 kB / 0.6004 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/0.6169, allocations: 75.92 kB / 0.6004 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.6171, allocations: 84.88 kB / 0.6005 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.6172, allocations: 35.98 kB / 0.6005 GB, free: 8.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009503/0.6181, allocations: 0.8565 MB / 0.6014 GB, free: 7.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6181, allocations: 4 kB / 0.6014 GB, free: 7.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001303/0.6194, allocations: 476 kB / 0.6018 GB, free: 7.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003817/0.6198, allocations: 308.4 kB / 0.6021 GB, free: 6.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.6223, allocations: 2.246 MB / 0.6043 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6223, allocations: 0 / 0.6043 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.6239, allocations: 1.522 MB / 0.6058 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.6253, allocations: 392.5 kB / 0.6062 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.6309, allocations: 4.952 MB / 0.611 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6323, allocations: 1.685 MB / 0.6127 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.6333, allocations: 332.9 kB / 0.613 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.6336, allocations: 99.42 kB / 0.6131 GB, free: 11.25 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.6336, allocations: 4 kB / 0.6131 GB, free: 11.24 MB / 394.7 MB Notification: Performance of Templates: time 0.03594/0.6695, allocations: 24.17 MB / 0.6367 GB, free: 3.266 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches