Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 200.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007477/0.0007478, allocations: 92.83 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002153, allocations: 11.98 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2148, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.5114, allocations: 120.6 MB / 0.5175 GB, free: 96.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5117, allocations: 100.8 kB / 0.5176 GB, free: 96.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2868/0.7985, allocations: 136.3 MB / 0.6507 GB, free: 7.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7986, allocations: 0 / 0.6507 GB, free: 7.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003373/0.7989, allocations: 127.8 kB / 0.6508 GB, free: 7.477 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01314/0.812, allocations: 5.282 MB / 0.656 GB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.8121, allocations: 8.031 kB / 0.656 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.8171, allocations: 1.017 MB / 0.657 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00815/0.8253, allocations: 3.923 MB / 0.6608 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.8256, allocations: 362.1 kB / 0.6612 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009561/0.8265, allocations: 488.2 kB / 0.6616 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.8384, allocations: 6.759 MB / 0.6682 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.8385, allocations: 7.938 kB / 0.6682 GB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004902/0.839, allocations: 207.9 kB / 0.6684 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.8393, allocations: 241.8 kB / 0.6687 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.197/1.036, allocations: 5.574 MB / 0.6741 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02977/1.066, allocations: 21.1 MB / 0.6947 GB, free: 46.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/1.073, allocations: 9.946 MB / 0.7044 GB, free: 40.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/1.077, allocations: 2.484 MB / 0.7068 GB, free: 40.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009547/1.086, allocations: 6.78 MB / 0.7135 GB, free: 39.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.086, allocations: 62.23 kB / 0.7135 GB, free: 39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=219): time 4.027e-06/1.086, allocations: 0 / 0.7135 GB, free: 39 MB / 442.7 MB Notification: Performance of matching and sorting (n=226): time 0.01538/1.102, allocations: 9.733 MB / 0.723 GB, free: 36.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/1.102, allocations: 74.34 kB / 0.7231 GB, free: 36.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/1.105, allocations: 2.984 MB / 0.726 GB, free: 36.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/1.105, allocations: 67.98 kB / 0.7261 GB, free: 36.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.107, allocations: 2.16 MB / 0.7282 GB, free: 35.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/1.107, allocations: 0.7596 MB / 0.7289 GB, free: 35.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.107, allocations: 50.25 kB / 0.729 GB, free: 35.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/1.107, allocations: 409.5 kB / 0.7294 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/1.109, allocations: 1.27 MB / 0.7306 GB, free: 35.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.111, allocations: 1.857 MB / 0.7324 GB, free: 34.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/1.114, allocations: 3.249 MB / 0.7356 GB, free: 32.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.114, allocations: 5.719 kB / 0.7356 GB, free: 32.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.005507/1.12, allocations: 4.186 MB / 0.7397 GB, free: 30.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.12, allocations: 9.875 kB / 0.7397 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.12, allocations: 18.28 kB / 0.7397 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.121, allocations: 0.6533 MB / 0.7404 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.123, allocations: 0.546 MB / 0.7409 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/1.131, allocations: 10.04 MB / 0.7507 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.133, allocations: 106.6 kB / 0.7508 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.133, allocations: 103.8 kB / 0.7509 GB, free: 23.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 266 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002396/1.135, allocations: 1.608 MB / 0.7525 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/1.136, allocations: 314.6 kB / 0.7528 GB, free: 22.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/1.141, allocations: 3.904 MB / 0.7566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.141, allocations: 21.53 kB / 0.7566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.141, allocations: 14 kB / 0.7566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.141, allocations: 11.34 kB / 0.7566 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.152, allocations: 8.553 MB / 0.765 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.152, allocations: 3.531 kB / 0.765 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.153, allocations: 346.5 kB / 0.7653 GB, free: 16.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.155, allocations: 0.8222 MB / 0.7661 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.155, allocations: 60.61 kB / 0.7662 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.166, allocations: 14.43 MB / 0.7803 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.166, allocations: 3.344 kB / 0.7803 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/1.173, allocations: 5.691 MB / 0.7858 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.174, allocations: 0.699 MB / 0.7865 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/1.175, allocations: 53.42 kB / 0.7866 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.176, allocations: 122 kB / 0.7867 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/1.176, allocations: 190.5 kB / 0.7868 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.177, allocations: 65.55 kB / 0.7869 GB, free: 2.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002536/1.179, allocations: 2.05 MB / 0.7889 GB, free: 1.301 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.179, allocations: 0 / 0.7889 GB, free: 1.301 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002603/1.182, allocations: 0.9947 MB / 0.7899 GB, free: 1.199 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 13,(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.000596/1.182, allocations: 473.1 kB / 0.7903 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004915/1.187, allocations: 3.868 MB / 0.7941 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.187, allocations: 3.938 kB / 0.7941 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/1.191, allocations: 2.654 MB / 0.7967 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/1.195, allocations: 0.8884 MB / 0.7976 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.209, allocations: 11.18 MB / 0.8085 GB, free: 7.094 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003112/1.212, allocations: 3.432 MB / 0.8118 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002493/1.215, allocations: 0.7483 MB / 0.8126 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/1.215, allocations: 191.4 kB / 0.8128 GB, free: 3.711 MB / 458.7 MB Notification: Performance of SimCode: time 1.403e-06/1.215, allocations: 0 / 0.8128 GB, free: 3.711 MB / 458.7 MB Notification: Performance of Templates: time 0.2712/1.487, allocations: 52.01 MB / 0.8636 GB, free: 64.67 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches