Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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_YD,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",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,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",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000754/0.0007539, allocations: 99.92 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002426, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2189, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2924/0.5114, allocations: 112.8 MB / 0.5093 GB, free: 97.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5118, allocations: 97.22 kB / 0.5093 GB, free: 97.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1832/0.695, allocations: 95.71 MB / 0.6028 GB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.695, allocations: 0 / 0.6028 GB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002185/0.6952, allocations: 103.9 kB / 0.6029 GB, free: 7.992 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.009052/0.7043, allocations: 4.351 MB / 0.6072 GB, free: 3.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7043, allocations: 8.031 kB / 0.6072 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.7082, allocations: 0.8699 MB / 0.608 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/0.7139, allocations: 3.248 MB / 0.6112 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.7142, allocations: 296.1 kB / 0.6115 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000709/0.7149, allocations: 392.2 kB / 0.6118 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008926/0.7238, allocations: 5.31 MB / 0.617 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-05/0.7239, allocations: 11.94 kB / 0.617 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.7243, allocations: 164 kB / 0.6172 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.7245, allocations: 159.7 kB / 0.6173 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.7321, allocations: 4.508 MB / 0.6218 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.7573, allocations: 17.06 MB / 0.6384 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/0.7653, allocations: 8.813 MB / 0.647 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002793/0.7681, allocations: 1.877 MB / 0.6489 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00844/0.7766, allocations: 5.124 MB / 0.6539 GB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.7785, allocations: 1.328 MB / 0.6552 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=185): time 3.908e-06/0.7785, allocations: 0 / 0.6552 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.01837/0.7969, allocations: 8.691 MB / 0.6636 GB, free: 7.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7971, allocations: 231.6 kB / 0.6639 GB, free: 7.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.8005, allocations: 2.304 MB / 0.6661 GB, free: 5.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.8008, allocations: 57.7 kB / 0.6662 GB, free: 5.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.8024, allocations: 1.738 MB / 0.6679 GB, free: 3.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/0.8031, allocations: 0.6047 MB / 0.6685 GB, free: 2.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.8032, allocations: 44 kB / 0.6685 GB, free: 2.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8034, allocations: 386 kB / 0.6689 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.8051, allocations: 1.007 MB / 0.6698 GB, free: 1.277 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2118/1.017, allocations: 1.555 MB / 0.6714 GB, free: 84.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/1.021, allocations: 2.551 MB / 0.6739 GB, free: 83.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/1.021, allocations: 6.688 kB / 0.6739 GB, free: 83.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.0054/1.027, allocations: 3.494 MB / 0.6773 GB, free: 83.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.027, allocations: 14.44 kB / 0.6773 GB, free: 83.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.027, allocations: 14.88 kB / 0.6773 GB, free: 83.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/1.029, allocations: 0.7626 MB / 0.678 GB, free: 83.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.03, allocations: 374.3 kB / 0.6784 GB, free: 83.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009544/1.04, allocations: 10.85 MB / 0.689 GB, free: 78.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.042, allocations: 146.4 kB / 0.6891 GB, free: 78.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/1.042, allocations: 79.97 kB / 0.6892 GB, free: 78.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * 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%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00241/1.044, allocations: 1.327 MB / 0.6905 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005167/1.045, allocations: 247.7 kB / 0.6908 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/1.05, allocations: 3.376 MB / 0.694 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/1.05, allocations: 17.94 kB / 0.6941 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/1.05, allocations: 17.61 kB / 0.6941 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.05, allocations: 10.56 kB / 0.6941 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/1.061, allocations: 7.021 MB / 0.7009 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.061, allocations: 6.875 kB / 0.701 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/1.062, allocations: 179.4 kB / 0.7011 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/1.064, allocations: 0.9466 MB / 0.7021 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.064, allocations: 46.62 kB / 0.7021 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/1.078, allocations: 15.23 MB / 0.717 GB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.078, allocations: 0 / 0.717 GB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00724/1.085, allocations: 4.806 MB / 0.7217 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.086, allocations: 0.5532 MB / 0.7222 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/1.087, allocations: 48.64 kB / 0.7223 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.088, allocations: 114.5 kB / 0.7224 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005994/1.088, allocations: 209.2 kB / 0.7226 GB, free: 66.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.089, allocations: 51.48 kB / 0.7226 GB, free: 66.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002228/1.091, allocations: 1.58 MB / 0.7242 GB, free: 65.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.091, allocations: 2.062 kB / 0.7242 GB, free: 65.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00274/1.094, allocations: 0.8216 MB / 0.725 GB, free: 65.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 1,(1,100.0%) 8,(9,33.3%) 25,(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.0006122/1.094, allocations: 403.6 kB / 0.7253 GB, free: 65.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/1.099, allocations: 3.281 MB / 0.7285 GB, free: 63.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.099, allocations: 3.125 kB / 0.7285 GB, free: 63.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.102, allocations: 2.393 MB / 0.7309 GB, free: 62.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.105, allocations: 0.6948 MB / 0.7316 GB, free: 62.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.116, allocations: 8.705 MB / 0.7401 GB, free: 57.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.118, allocations: 2.793 MB / 0.7428 GB, free: 56.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/1.119, allocations: 165.1 kB / 0.743 GB, free: 56.26 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/1.119, allocations: 0 / 0.743 GB, free: 56.26 MB / 442.7 MB Notification: Performance of Templates: time 0.3533/1.472, allocations: 163.6 MB / 0.9027 GB, free: 108.5 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches