Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000981/0.0009811, allocations: 109.4 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000935/0.0009353, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1895, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01088/0.2004, allocations: 14.08 MB / 421.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.2077, allocations: 4.613 MB / 425.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.2103, allocations: 79.69 kB / 425.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.213, allocations: 0.8862 MB / 426.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.2164, allocations: 1.177 MB / 427.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2182, allocations: 0.8567 MB / 428.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.222, allocations: 4.47 MB / 433.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.2246, allocations: 2.673 MB / 435.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.2265, allocations: 1.529 MB / 437.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.2287, allocations: 1.926 MB / 439.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.2292, allocations: 303.9 kB / 439.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.2303, allocations: 0.531 MB / 440.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.231, allocations: 0.8876 MB / 441.1 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.2329, allocations: 1.913 MB / 443 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.2381, allocations: 6.527 MB / 449.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2381, allocations: 0 / 449.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2381, allocations: 4 kB / 449.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.152e-05/0.2382, allocations: 0 / 449.5 MB, free: 1.184 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01152/0.2497, allocations: 4.41 MB / 453.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2498, allocations: 8.031 kB / 453.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.2537, allocations: 0.8319 MB / 454.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.258, allocations: 2.334 MB / 457.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.2581, allocations: 242.8 kB / 457.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/0.2586, allocations: 327.8 kB / 457.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006682/0.2653, allocations: 4.267 MB / 461.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.2654, allocations: 7.906 kB / 461.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.2657, allocations: 132 kB / 462.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.2658, allocations: 158.4 kB / 462.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/0.2712, allocations: 3.594 MB / 465.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.2898, allocations: 13.97 MB / 479.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.2955, allocations: 6.657 MB / 486.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.2976, allocations: 1.402 MB / 487.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005732/0.3034, allocations: 3.889 MB / 491.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3034, allocations: 43.88 kB / 491.8 MB, free: 5.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 2.826e-06/0.3034, allocations: 0 / 491.8 MB, free: 5.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01021/0.3136, allocations: 5.894 MB / 497.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3137, allocations: 72.66 kB / 497.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.316, allocations: 1.793 MB / 499.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.3161, allocations: 53.7 kB / 499.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/0.3169, allocations: 1.438 MB / 0.4893 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3173, allocations: 485.1 kB / 0.4897 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.3177, allocations: 319.2 kB / 0.49 GB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.3178, allocations: 309.1 kB / 0.4903 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.3188, allocations: 0.6793 MB / 0.491 GB, free: 10.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3201, allocations: 1.197 MB / 0.4922 GB, free: 8.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.3225, allocations: 2.003 MB / 0.4941 GB, free: 6.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3225, allocations: 8 kB / 0.4941 GB, free: 6.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003813/0.3263, allocations: 2.543 MB / 0.4966 GB, free: 3.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.3263, allocations: 12 kB / 0.4966 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3264, allocations: 16 kB / 0.4966 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.3273, allocations: 360.3 kB / 0.497 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3285, allocations: 375.4 kB / 0.4973 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1659/0.4944, allocations: 7.679 MB / 0.5048 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4959, allocations: 79.72 kB / 0.5049 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.496, allocations: 79.77 kB / 0.505 GB, free: 84.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001442/0.4975, allocations: 1.014 MB / 0.506 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.4978, allocations: 192.8 kB / 0.5062 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.5012, allocations: 2.3 MB / 0.5084 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5013, allocations: 16.83 kB / 0.5084 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.5013, allocations: 7.875 kB / 0.5084 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.5013, allocations: 7.906 kB / 0.5084 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006724/0.508, allocations: 5.087 MB / 0.5134 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5081, allocations: 0 / 0.5134 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.5088, allocations: 171.8 kB / 0.5136 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.5102, allocations: 0.5333 MB / 0.5141 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.5103, allocations: 39.47 kB / 0.5141 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008475/0.5188, allocations: 12.09 MB / 0.5259 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5188, allocations: 4.516 kB / 0.526 GB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/0.5484, allocations: 27.51 MB / 0.5528 GB, free: 44.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.5495, allocations: 426.6 kB / 0.5532 GB, free: 43.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.5499, allocations: 36.14 kB / 0.5533 GB, free: 43.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.5508, allocations: 67.94 kB / 0.5533 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.5511, allocations: 105.2 kB / 0.5534 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.5511, allocations: 39.98 kB / 0.5535 GB, free: 43.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.5527, allocations: 1.231 MB / 0.5547 GB, free: 42.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5527, allocations: 0 / 0.5547 GB, free: 42.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00262/0.5554, allocations: 0.8189 MB / 0.5555 GB, free: 41.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000298/0.5557, allocations: 165.6 kB / 0.5556 GB, free: 41.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.5585, allocations: 2.352 MB / 0.5579 GB, free: 38.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5585, allocations: 0 / 0.5579 GB, free: 38.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.5604, allocations: 1.735 MB / 0.5596 GB, free: 37.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.5625, allocations: 0.5154 MB / 0.5601 GB, free: 36.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5729, allocations: 9.108 MB / 0.569 GB, free: 27.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.575, allocations: 2.358 MB / 0.5713 GB, free: 24.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001491/0.5765, allocations: 413.1 kB / 0.5717 GB, free: 24.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.5769, allocations: 127.4 kB / 0.5718 GB, free: 24.44 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5769, allocations: 0 / 0.5718 GB, free: 24.44 MB / 378.7 MB Notification: Performance of Templates: time 0.0501/0.627, allocations: 34.63 MB / 0.6056 GB, free: 6.137 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches