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.001287/0.001287, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008168/0.000817, allocations: 91.06 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.293e-05, allocations: 7.984 kB / 350.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4697, allocations: 120.4 MB / 0.5102 GB, free: 1.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.47, allocations: 86.25 kB / 0.5103 GB, free: 1.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5349/1.005, allocations: 136.7 MB / 0.6438 GB, free: 74.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.005, allocations: 3.938 kB / 0.6438 GB, free: 74.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004589/1.005, allocations: 120.5 kB / 0.6439 GB, free: 74.86 MB / 442.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.01383/1.019, allocations: 4.822 MB / 0.6486 GB, free: 72.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.019, allocations: 7.219 kB / 0.6486 GB, free: 72.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/1.025, allocations: 1.003 MB / 0.6496 GB, free: 72.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.036, allocations: 4.517 MB / 0.654 GB, free: 70.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/1.036, allocations: 367.9 kB / 0.6543 GB, free: 69.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/1.038, allocations: 478.8 kB / 0.6548 GB, free: 69.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/1.054, allocations: 6.606 MB / 0.6613 GB, free: 66.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/1.054, allocations: 7.906 kB / 0.6613 GB, free: 66.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/1.055, allocations: 207.2 kB / 0.6615 GB, free: 66.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/1.055, allocations: 229.6 kB / 0.6617 GB, free: 66.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.066, allocations: 5.408 MB / 0.667 GB, free: 64.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/1.1, allocations: 21.07 MB / 0.6875 GB, free: 50.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007428/1.108, allocations: 9.837 MB / 0.6971 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003517/1.111, allocations: 2.415 MB / 0.6995 GB, free: 37.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.123, allocations: 6.734 MB / 0.7061 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.123, allocations: 68.45 kB / 0.7061 GB, free: 30.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 4.038e-06/1.123, allocations: 4 kB / 0.7061 GB, free: 30.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01261/1.136, allocations: 7.246 MB / 0.7132 GB, free: 22.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.136, allocations: 73.41 kB / 0.7133 GB, free: 22.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.141, allocations: 2.621 MB / 0.7159 GB, free: 20.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004225/1.142, allocations: 65.7 kB / 0.7159 GB, free: 20.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.143, allocations: 2.172 MB / 0.718 GB, free: 17.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000801/1.144, allocations: 0.7454 MB / 0.7188 GB, free: 17.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/1.144, allocations: 52 kB / 0.7188 GB, free: 17.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/1.145, allocations: 407 kB / 0.7192 GB, free: 16.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.146, allocations: 1.2 MB / 0.7204 GB, free: 15.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/1.148, allocations: 1.784 MB / 0.7221 GB, free: 13.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/1.15, allocations: 1.516 MB / 0.7236 GB, free: 11.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.15, allocations: 4 kB / 0.7236 GB, free: 11.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.006167/1.157, allocations: 4.036 MB / 0.7275 GB, free: 7.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.157, allocations: 12 kB / 0.7276 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.157, allocations: 16 kB / 0.7276 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/1.158, allocations: 0.6514 MB / 0.7282 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/1.161, allocations: 0.5461 MB / 0.7287 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009622/1.17, allocations: 9.99 MB / 0.7385 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.173, allocations: 116.1 kB / 0.7386 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/1.174, allocations: 96 kB / 0.7387 GB, free: 11.94 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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.0008416/1.174, allocations: 262.5 kB / 0.7389 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.175, allocations: 316.2 kB / 0.7392 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/1.183, allocations: 3.766 MB / 0.7429 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.183, allocations: 24 kB / 0.7429 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.183, allocations: 8.188 kB / 0.743 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.183, allocations: 19.88 kB / 0.743 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2733/1.456, allocations: 8.397 MB / 0.7512 GB, free: 82.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.456, allocations: 8.688 kB / 0.7512 GB, free: 82.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.458, allocations: 338.3 kB / 0.7515 GB, free: 82.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/1.46, allocations: 0.8028 MB / 0.7523 GB, free: 82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/1.46, allocations: 59.17 kB / 0.7523 GB, free: 82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.473, allocations: 14.35 MB / 0.7664 GB, free: 74.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.473, allocations: 10.27 kB / 0.7664 GB, free: 74.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00846/1.481, allocations: 5.669 MB / 0.7719 GB, free: 73.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.484, allocations: 0.687 MB / 0.7726 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/1.484, allocations: 54.48 kB / 0.7726 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.486, allocations: 119.6 kB / 0.7727 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/1.486, allocations: 192 kB / 0.7729 GB, free: 73.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.486, allocations: 63.3 kB / 0.773 GB, free: 73.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003072/1.489, allocations: 2.017 MB / 0.775 GB, free: 73.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.489, allocations: 0 / 0.775 GB, free: 73.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003812/1.493, allocations: 0.9905 MB / 0.7759 GB, free: 73.15 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009439/1.494, allocations: 0.5141 MB / 0.7764 GB, free: 73.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005214/1.499, allocations: 3.738 MB / 0.7801 GB, free: 72.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.499, allocations: 3.156 kB / 0.7801 GB, free: 72.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/1.503, allocations: 2.537 MB / 0.7826 GB, free: 71.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/1.507, allocations: 0.8731 MB / 0.7834 GB, free: 71.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.523, allocations: 7.766 MB / 0.791 GB, free: 70.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003749/1.526, allocations: 3.52 MB / 0.7944 GB, free: 69.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00316/1.53, allocations: 0.7408 MB / 0.7952 GB, free: 69.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/1.53, allocations: 190.5 kB / 0.7953 GB, free: 69.12 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/1.53, allocations: 1.031 kB / 0.7953 GB, free: 69.12 MB / 458.7 MB Notification: Performance of Templates: time 0.08092/1.611, allocations: 51.91 MB / 0.846 GB, free: 64.83 MB / 458.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/jenkins/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