Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001508/0.001507, allocations: 198.8 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.436/1.436, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008036, allocations: 90.09 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.291e-05/1.294e-05, allocations: 224 / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09458, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4683, allocations: 112 MB / 0.4953 GB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4686, allocations: 94.34 kB / 0.4954 GB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5326/1.001, allocations: 94.83 MB / 0.588 GB, free: 70.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.001, allocations: 0 / 0.588 GB, free: 70.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002737/1.002, allocations: 101.5 kB / 0.5881 GB, free: 70.08 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01049/1.012, allocations: 3.972 MB / 0.592 GB, free: 68.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.012, allocations: 12.91 kB / 0.592 GB, free: 68.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/1.017, allocations: 0.8597 MB / 0.5928 GB, free: 68.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00878/1.026, allocations: 3.844 MB / 0.5966 GB, free: 67.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/1.026, allocations: 130 kB / 0.5967 GB, free: 67.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/1.028, allocations: 238.1 kB / 0.5969 GB, free: 67.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007914/1.035, allocations: 4.117 MB / 0.601 GB, free: 67.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008733/1.044, allocations: 4.62 MB / 0.6055 GB, free: 67.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.339e-05/1.044, allocations: 0 / 0.6055 GB, free: 67.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/1.045, allocations: 3.188 kB / 0.6055 GB, free: 67.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.045, allocations: 171.7 kB / 0.6056 GB, free: 67.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/1.073, allocations: 16.3 MB / 0.6215 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/1.081, allocations: 8.59 MB / 0.6299 GB, free: 57.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/1.084, allocations: 1.738 MB / 0.6316 GB, free: 56.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009699/1.094, allocations: 4.958 MB / 0.6365 GB, free: 53.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.096, allocations: 1.193 MB / 0.6376 GB, free: 53.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 7.384e-06/1.096, allocations: 1.188 kB / 0.6376 GB, free: 53.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=186): time 0.01196/1.108, allocations: 6.125 MB / 0.6436 GB, free: 50.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/1.108, allocations: 236.4 kB / 0.6438 GB, free: 50.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/1.111, allocations: 1.711 MB / 0.6455 GB, free: 49.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.111, allocations: 25.7 kB / 0.6455 GB, free: 49.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.112, allocations: 1.733 MB / 0.6472 GB, free: 48.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/1.113, allocations: 0.5817 MB / 0.6478 GB, free: 47.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.113, allocations: 0 / 0.6478 GB, free: 47.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/1.113, allocations: 388 kB / 0.6482 GB, free: 47.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/1.114, allocations: 0.9009 MB / 0.6491 GB, free: 47.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.115, allocations: 1.431 MB / 0.6505 GB, free: 46.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.118, allocations: 1.307 MB / 0.6517 GB, free: 45.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.118, allocations: 3.562 kB / 0.6517 GB, free: 45.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005614/1.123, allocations: 3.328 MB / 0.655 GB, free: 44.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.123, allocations: 9.688 kB / 0.655 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.124, allocations: 13.81 kB / 0.655 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/1.125, allocations: 0.7351 MB / 0.6557 GB, free: 44.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.127, allocations: 370.8 kB / 0.6561 GB, free: 44.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009406/1.136, allocations: 10.44 MB / 0.6663 GB, free: 36.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.138, allocations: 99.42 kB / 0.6664 GB, free: 36.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/1.139, allocations: 81.09 kB / 0.6664 GB, free: 36.5 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 () * 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.0005778/1.139, allocations: 184.6 kB / 0.6666 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006437/1.14, allocations: 229.8 kB / 0.6668 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/1.146, allocations: 3.25 MB / 0.67 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.146, allocations: 17.12 kB / 0.67 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.146, allocations: 11.5 kB / 0.67 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/1.146, allocations: 10.08 kB / 0.67 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.157, allocations: 6.399 MB / 0.6763 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.157, allocations: 0 / 0.6763 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/1.158, allocations: 178.5 kB / 0.6765 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/1.16, allocations: 0.9081 MB / 0.6774 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/1.16, allocations: 26 kB / 0.6774 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.173, allocations: 14.64 MB / 0.6917 GB, free: 20.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.173, allocations: 8.219 kB / 0.6917 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/1.18, allocations: 4.728 MB / 0.6963 GB, free: 18.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.181, allocations: 0.5268 MB / 0.6968 GB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007426/1.182, allocations: 16.28 kB / 0.6968 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.184, allocations: 82.75 kB / 0.6969 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/1.184, allocations: 215 kB / 0.6971 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.185, allocations: 49.11 kB / 0.6972 GB, free: 18.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002297/1.187, allocations: 1.271 MB / 0.6984 GB, free: 17.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.187, allocations: 0 / 0.6984 GB, free: 17.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003418/1.19, allocations: 0.7209 MB / 0.6991 GB, free: 17.45 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.0006878/1.191, allocations: 375.5 kB / 0.6995 GB, free: 17.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004307/1.195, allocations: 2.994 MB / 0.7024 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.195, allocations: 0 / 0.7024 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/1.198, allocations: 2.231 MB / 0.7046 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.201, allocations: 0.5307 MB / 0.7051 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.213, allocations: 5.808 MB / 0.7108 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/1.216, allocations: 2.922 MB / 0.7136 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001964/1.218, allocations: 478.4 kB / 0.7141 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.218, allocations: 134.7 kB / 0.7142 GB, free: 9.949 MB / 442.7 MB Notification: Performance of SimCode: time 1.163e-06/1.218, allocations: 0 / 0.7142 GB, free: 9.949 MB / 442.7 MB Notification: Performance of Templates: time 0.06304/1.281, allocations: 34.62 MB / 0.748 GB, free: 2.121 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches