Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008694, allocations: 93.8 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002732, allocations: 11.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.241, allocations: 50.4 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.3673, allocations: 104.6 MB / 0.4942 GB, free: 7.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.3677, allocations: 91.94 kB / 0.4943 GB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2934/0.6612, allocations: 41.45 MB / 0.5348 GB, free: 79.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6612, allocations: 0 / 0.5348 GB, free: 79.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001611/0.6614, allocations: 47.94 kB / 0.5348 GB, free: 79.39 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.004876/0.6662, allocations: 2.216 MB / 0.537 GB, free: 77.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6663, allocations: 8.031 kB / 0.537 GB, free: 77.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.6673, allocations: 269.1 kB / 0.5372 GB, free: 76.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.6703, allocations: 1.388 MB / 0.5386 GB, free: 75.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.6704, allocations: 151.8 kB / 0.5387 GB, free: 75.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.6708, allocations: 191.9 kB / 0.5389 GB, free: 75.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.6749, allocations: 2.405 MB / 0.5413 GB, free: 72.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.675, allocations: 3.984 kB / 0.5413 GB, free: 72.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.6751, allocations: 83.98 kB / 0.5413 GB, free: 72.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/0.6752, allocations: 83.69 kB / 0.5414 GB, free: 72.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.6779, allocations: 1.865 MB / 0.5432 GB, free: 70.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009301/0.6872, allocations: 7.845 MB / 0.5509 GB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.6886, allocations: 1.283 MB / 0.5522 GB, free: 61.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.6889, allocations: 134 kB / 0.5523 GB, free: 60.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6889, allocations: 51.5 kB / 0.5523 GB, free: 60.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 3.116e-06/0.6889, allocations: 4 kB / 0.5523 GB, free: 60.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01035/0.6993, allocations: 5.832 MB / 0.558 GB, free: 54.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.6994, allocations: 64.41 kB / 0.5581 GB, free: 54.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.701, allocations: 1.116 MB / 0.5592 GB, free: 53.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/0.7011, allocations: 45.7 kB / 0.5592 GB, free: 53.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.7016, allocations: 0.9122 MB / 0.5601 GB, free: 52.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.7019, allocations: 410.1 kB / 0.5605 GB, free: 52.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.7019, allocations: 28 kB / 0.5605 GB, free: 52.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.702, allocations: 357.9 kB / 0.5609 GB, free: 52.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/0.703, allocations: 0.6481 MB / 0.5615 GB, free: 51.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.7041, allocations: 0.9912 MB / 0.5625 GB, free: 50.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7053, allocations: 0.8027 MB / 0.5633 GB, free: 49.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.7053, allocations: 7.984 kB / 0.5633 GB, free: 49.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003427/0.7087, allocations: 2.256 MB / 0.5655 GB, free: 47.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.7087, allocations: 15.98 kB / 0.5655 GB, free: 47.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.7088, allocations: 8.25 kB / 0.5655 GB, free: 47.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.7099, allocations: 487.9 kB / 0.566 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.711, allocations: 311.5 kB / 0.5663 GB, free: 46.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.7163, allocations: 6.597 MB / 0.5727 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.7175, allocations: 87.97 kB / 0.5728 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.7177, allocations: 56 kB / 0.5728 GB, free: 39.18 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.001201/0.7189, allocations: 0.6066 MB / 0.5734 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.7193, allocations: 146.2 kB / 0.5736 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.7224, allocations: 2.004 MB / 0.5755 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.7224, allocations: 12 kB / 0.5755 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.7224, allocations: 7.938 kB / 0.5756 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.7224, allocations: 3.984 kB / 0.5756 GB, free: 36.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/0.7292, allocations: 4.134 MB / 0.5796 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7292, allocations: 3.984 kB / 0.5796 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.73, allocations: 191.8 kB / 0.5798 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.7314, allocations: 0.5272 MB / 0.5803 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.7315, allocations: 35.98 kB / 0.5803 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.7374, allocations: 8.132 MB / 0.5883 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7374, allocations: 4 kB / 0.5883 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.7414, allocations: 3.034 MB / 0.5912 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.7423, allocations: 359.2 kB / 0.5916 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.7427, allocations: 27.98 kB / 0.5916 GB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/0.7436, allocations: 75.92 kB / 0.5917 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.7438, allocations: 88.91 kB / 0.5918 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.7439, allocations: 35.98 kB / 0.5918 GB, free: 18.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.7451, allocations: 0.8643 MB / 0.5926 GB, free: 18.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7451, allocations: 0 / 0.5926 GB, free: 18.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001662/0.7468, allocations: 475.9 kB / 0.5931 GB, free: 17.63 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.0004567/0.7473, allocations: 310.7 kB / 0.5934 GB, free: 17.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.75, allocations: 2.25 MB / 0.5956 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.75, allocations: 4 kB / 0.5956 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.7518, allocations: 1.514 MB / 0.5971 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.7534, allocations: 388 kB / 0.5974 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.7597, allocations: 4.94 MB / 0.6023 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.7611, allocations: 1.681 MB / 0.6039 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001106/0.7622, allocations: 332.8 kB / 0.6042 GB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.7626, allocations: 99.42 kB / 0.6043 GB, free: 5.883 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7626, allocations: 0 / 0.6043 GB, free: 5.883 MB / 378.7 MB Notification: Performance of Templates: time 0.03892/0.8015, allocations: 24.11 MB / 0.6279 GB, free: 14 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches