Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009389/0.0009392, allocations: 99.53 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.891e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5808, allocations: 163 MB / 0.5451 GB, free: 11.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.5812, allocations: 100.2 kB / 0.5452 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.632/3.214, allocations: 0.593 GB / 1.138 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/3.214, allocations: 0 / 1.138 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001318/3.215, allocations: 419.8 kB / 1.139 GB, free: 42.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06894/3.284, allocations: 16.96 MB / 1.155 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/3.284, allocations: 9.25 kB / 1.155 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04675/3.331, allocations: 7.852 MB / 1.163 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04131/3.372, allocations: 14.85 MB / 1.177 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/3.373, allocations: 0.5664 MB / 1.178 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008308/3.382, allocations: 1.015 MB / 1.179 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05823/3.44, allocations: 22.77 MB / 1.201 GB, free: 34.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08572/3.526, allocations: 26.03 MB / 1.227 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001199/3.527, allocations: 26.53 kB / 1.227 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008321/3.535, allocations: 14.22 kB / 1.227 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/3.537, allocations: 1.269 MB / 1.228 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.644/4.181, allocations: 93.18 MB / 1.319 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04448/4.226, allocations: 51.72 MB / 1.369 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/4.241, allocations: 7.33 MB / 1.377 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0358/4.277, allocations: 19.96 MB / 1.396 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.61e-05/4.277, allocations: 108.8 kB / 1.396 GB, free: 28.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=685): time 1.001e-05/4.277, allocations: 0 / 1.396 GB, free: 28.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=693): time 0.07679/4.354, allocations: 31.79 MB / 1.427 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/4.354, allocations: 149.3 kB / 1.427 GB, free: 22.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/4.366, allocations: 5.317 MB / 1.432 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001628/4.367, allocations: 25.7 kB / 1.433 GB, free: 21.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004817/4.372, allocations: 7.743 MB / 1.44 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00324/4.375, allocations: 2.255 MB / 1.442 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/4.377, allocations: 0 / 1.442 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001005/4.378, allocations: 0.6911 MB / 1.443 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00783/4.386, allocations: 4.811 MB / 1.448 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/4.398, allocations: 8.024 MB / 1.455 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/4.418, allocations: 8.566 MB / 1.464 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/4.418, allocations: 32.16 kB / 1.464 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.0431/4.461, allocations: 17.16 MB / 1.481 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/4.461, allocations: 49.09 kB / 1.481 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/4.462, allocations: 105.5 kB / 1.481 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006409/4.468, allocations: 2.385 MB / 1.483 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009636/4.478, allocations: 2.11 MB / 1.485 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4762/4.954, allocations: 27.24 MB / 1.512 GB, free: 86.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/4.967, allocations: 436.4 kB / 1.512 GB, free: 86.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004087/4.971, allocations: 443 kB / 1.513 GB, free: 86.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004858/4.976, allocations: 407.5 kB / 1.513 GB, free: 86.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00285/4.979, allocations: 0.7197 MB / 1.514 GB, free: 86.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04815/5.027, allocations: 14.7 MB / 1.528 GB, free: 85.42 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02821/5.056, allocations: 9.997 MB / 1.538 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001601/5.056, allocations: 29.12 kB / 1.538 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003227/5.056, allocations: 33.42 kB / 1.538 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07858/5.135, allocations: 27.76 MB / 1.565 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-05/5.135, allocations: 5.531 kB / 1.565 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006532/5.141, allocations: 1.171 MB / 1.566 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/5.149, allocations: 2.45 MB / 1.569 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001862/5.151, allocations: 57.33 kB / 1.569 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03173/5.182, allocations: 31.54 MB / 1.599 GB, free: 69.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/5.182, allocations: 11.66 kB / 1.599 GB, free: 69.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04096/5.223, allocations: 21.36 MB / 1.62 GB, free: 64.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007033/5.231, allocations: 1.781 MB / 1.622 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003935/5.234, allocations: 12.17 kB / 1.622 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007356/5.242, allocations: 381.5 kB / 1.622 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002507/5.244, allocations: 0.5319 MB / 1.623 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001336/5.246, allocations: 197.3 kB / 1.623 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008271/5.254, allocations: 3.915 MB / 1.627 GB, free: 61.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.81e-07/5.254, allocations: 3.844 kB / 1.627 GB, free: 61.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01612/5.27, allocations: 2.766 MB / 1.63 GB, free: 61.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 550 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(18,41.7%) 100,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/5.273, allocations: 0.5695 MB / 1.63 GB, free: 61.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02685/5.3, allocations: 13.03 MB / 1.643 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/5.3, allocations: 3.75 kB / 1.643 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/5.313, allocations: 7.443 MB / 1.65 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/5.323, allocations: 1.588 MB / 1.652 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05995/5.383, allocations: 27.41 MB / 1.678 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01863/5.402, allocations: 11.67 MB / 1.69 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01079/5.413, allocations: 3.233 MB / 1.693 GB, free: 19.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/5.416, allocations: 0.5275 MB / 1.694 GB, free: 18.51 MB / 0.5573 GB Notification: Performance of SimCode: time 2.174e-06/5.416, allocations: 4 kB / 1.694 GB, free: 18.51 MB / 0.5573 GB Notification: Performance of Templates: time 0.6008/6.016, allocations: 116 MB / 1.807 GB, free: 73.23 MB / 0.5573 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches