Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008188, allocations: 95.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.101e-05, allocations: 4 kB / 343.9 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09531, allocations: 50.41 MB / 394.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.437, allocations: 111.6 MB / 0.494 GB, free: 7.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4373, allocations: 95.77 kB / 0.4941 GB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4652/0.9026, allocations: 92.75 MB / 0.5847 GB, free: 95.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.9026, allocations: 0 / 0.5847 GB, free: 95.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002581/0.9029, allocations: 97.55 kB / 0.5848 GB, free: 95.36 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.009486/0.9124, allocations: 3.954 MB / 0.5887 GB, free: 93.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9124, allocations: 11.75 kB / 0.5887 GB, free: 93.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.917, allocations: 0.8197 MB / 0.5895 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008552/0.9256, allocations: 3.82 MB / 0.5932 GB, free: 91.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.9258, allocations: 301.7 kB / 0.5935 GB, free: 91.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.9269, allocations: 384.6 kB / 0.5939 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.9376, allocations: 5.179 MB / 0.5989 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.9378, allocations: 7.281 kB / 0.5989 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/0.9383, allocations: 161.4 kB / 0.5991 GB, free: 88.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.9384, allocations: 168.4 kB / 0.5992 GB, free: 88.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007632/0.9461, allocations: 4.346 MB / 0.6035 GB, free: 86.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.9718, allocations: 16.96 MB / 0.62 GB, free: 77.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00643/0.9783, allocations: 8.687 MB / 0.6285 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.9807, allocations: 1.814 MB / 0.6303 GB, free: 69.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007951/0.9887, allocations: 4.84 MB / 0.635 GB, free: 65.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.9902, allocations: 1.249 MB / 0.6362 GB, free: 64.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.059e-06/0.9902, allocations: 0 / 0.6362 GB, free: 64.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=186): time 0.009596/0.9998, allocations: 5.851 MB / 0.642 GB, free: 58.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/1, allocations: 235.6 kB / 0.6422 GB, free: 57.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/1.003, allocations: 2.02 MB / 0.6442 GB, free: 55.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004001/1.004, allocations: 61.7 kB / 0.6442 GB, free: 55.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.005, allocations: 1.722 MB / 0.6459 GB, free: 54.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/1.006, allocations: 0.608 MB / 0.6465 GB, free: 53.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.006, allocations: 44 kB / 0.6465 GB, free: 53.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/1.006, allocations: 382 kB / 0.6469 GB, free: 53.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/1.007, allocations: 0.9412 MB / 0.6478 GB, free: 52.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.009, allocations: 1.485 MB / 0.6493 GB, free: 50.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.01, allocations: 1.153 MB / 0.6504 GB, free: 49.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.01, allocations: 4 kB / 0.6504 GB, free: 49.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004747/1.015, allocations: 3.367 MB / 0.6537 GB, free: 45.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.015, allocations: 17.19 kB / 0.6537 GB, free: 45.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.015, allocations: 16 kB / 0.6537 GB, free: 45.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/1.017, allocations: 0.7634 MB / 0.6545 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.018, allocations: 371.4 kB / 0.6548 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008689/1.027, allocations: 10.8 MB / 0.6654 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.029, allocations: 136 kB / 0.6655 GB, free: 33.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.029, allocations: 83.98 kB / 0.6656 GB, free: 33.14 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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.000343/1.029, allocations: 246.2 kB / 0.6658 GB, free: 32.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.03, allocations: 249 kB / 0.666 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004675/1.034, allocations: 3.26 MB / 0.6692 GB, free: 29.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.034, allocations: 20 kB / 0.6692 GB, free: 29.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.034, allocations: 8 kB / 0.6693 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.034, allocations: 7.969 kB / 0.6693 GB, free: 29.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009058/1.043, allocations: 6.87 MB / 0.676 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.043, allocations: 4 kB / 0.676 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/1.044, allocations: 183.9 kB / 0.6761 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/1.046, allocations: 0.9458 MB / 0.6771 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.046, allocations: 43.98 kB / 0.6771 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.059, allocations: 15.18 MB / 0.6919 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.059, allocations: 0 / 0.6919 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/1.065, allocations: 4.706 MB / 0.6965 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.067, allocations: 0.5528 MB / 0.6971 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/1.067, allocations: 43.98 kB / 0.6971 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.069, allocations: 119.6 kB / 0.6972 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006102/1.07, allocations: 209.6 kB / 0.6974 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.07, allocations: 47.98 kB / 0.6975 GB, free: 15.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00275/1.072, allocations: 1.545 MB / 0.699 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 0 / 0.699 GB, free: 13.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00304/1.075, allocations: 0.8048 MB / 0.6998 GB, free: 12.97 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 101 * 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.000723/1.076, allocations: 461.3 kB / 0.7002 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004637/1.081, allocations: 3.148 MB / 0.7033 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.081, allocations: 0 / 0.7033 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.084, allocations: 2.332 MB / 0.7056 GB, free: 6.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.087, allocations: 0.6556 MB / 0.7062 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.098, allocations: 5.942 MB / 0.712 GB, free: 288 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2306/1.328, allocations: 2.901 MB / 0.7148 GB, free: 98.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002004/1.33, allocations: 0.4967 MB / 0.7153 GB, free: 98.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/1.331, allocations: 145.5 kB / 0.7155 GB, free: 98.49 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/1.331, allocations: 0.9375 kB / 0.7155 GB, free: 98.49 MB / 442.7 MB Notification: Performance of Templates: time 0.06741/1.398, allocations: 43.03 MB / 0.7575 GB, free: 95.66 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches