Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 109.8 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 207.9 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.441/1.441, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 68.67 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09918, allocations: 50.55 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01285/0.1121, allocations: 10.32 MB / 368.8 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.1185, allocations: 3.283 MB / 372.1 MB, free: 268 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1197, allocations: 55.75 kB / 372.1 MB, free: 212 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1496/0.2693, allocations: 0.6892 MB / 372.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.2722, allocations: 0.8784 MB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.2732, allocations: 427.9 kB / 374.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004012/0.2772, allocations: 3.402 MB / 377.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.2801, allocations: 2.609 MB / 380.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.2825, allocations: 1.517 MB / 381.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.2851, allocations: 1.859 MB / 383.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007369/0.2859, allocations: 396.9 kB / 383.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2872, allocations: 499.9 kB / 384.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.2883, allocations: 1.103 MB / 385.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.2909, allocations: 1.785 MB / 387.2 MB, free: 6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.2963, allocations: 5.164 MB / 392.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2963, allocations: 1.25 kB / 392.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2963, allocations: 0 / 392.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.2965, allocations: 0 / 392.4 MB, free: 3.418 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.007409/0.3039, allocations: 3.54 MB / 395.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3039, allocations: 9.094 kB / 396 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.3054, allocations: 392.1 kB / 396.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.3088, allocations: 1.875 MB / 398.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.3089, allocations: 198.8 kB / 398.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/0.3093, allocations: 263.2 kB / 398.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/0.3153, allocations: 3.537 MB / 402.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.3153, allocations: 3.938 kB / 402.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.3156, allocations: 104 kB / 402.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.3157, allocations: 112.9 kB / 402.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00562/0.3214, allocations: 3.091 MB / 405.5 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.3403, allocations: 10.86 MB / 416.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.3442, allocations: 3.069 MB / 419.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.3466, allocations: 1.389 MB / 420.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.3469, allocations: 122.4 kB / 421 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.3488, allocations: 1.156 MB / 422.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 3.486e-06/0.3488, allocations: 0 / 422.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=172): time 0.02166/0.3704, allocations: 8.886 MB / 431 MB, free: 15.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.3706, allocations: 180.2 kB / 431.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.3737, allocations: 1.848 MB / 433 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.3739, allocations: 57.7 kB / 433.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.3752, allocations: 1.204 MB / 434.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.3758, allocations: 0.5557 MB / 434.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/0.3764, allocations: 355.3 kB / 435.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3766, allocations: 305.1 kB / 435.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3783, allocations: 0.9994 MB / 436.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.3804, allocations: 1.43 MB / 437.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.3842, allocations: 2.455 MB / 440.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.3842, allocations: 6.344 kB / 440.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006313/0.3905, allocations: 3.326 MB / 443.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3906, allocations: 18.48 kB / 443.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.3906, allocations: 16 kB / 443.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.3929, allocations: 0.8802 MB / 444.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.3942, allocations: 331.5 kB / 444.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.4075, allocations: 10.44 MB / 455.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.4095, allocations: 135.8 kB / 455.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.4097, allocations: 64 kB / 455.6 MB, free: 6.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001819/0.4115, allocations: 0.9254 MB / 456.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/0.412, allocations: 205.5 kB / 456.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/0.4179, allocations: 3.115 MB / 459.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4179, allocations: 16 kB / 459.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4179, allocations: 12 kB / 459.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.4179, allocations: 11.95 kB / 459.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.4296, allocations: 6.265 MB / 466.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.4297, allocations: 4 kB / 466.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.4306, allocations: 212 kB / 466.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/0.4331, allocations: 0.9368 MB / 467.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.4333, allocations: 35.98 kB / 467.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.4481, allocations: 12.03 MB / 479.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4482, allocations: 384 / 479.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/0.456, allocations: 4.508 MB / 483.8 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.4572, allocations: 0.4945 MB / 484.3 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.4576, allocations: 43.98 kB / 484.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.4587, allocations: 99.83 kB / 484.5 MB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.4592, allocations: 200.9 kB / 484.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.4593, allocations: 51.98 kB / 484.7 MB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002022/0.4613, allocations: 1.263 MB / 486 MB, free: 6.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4613, allocations: 0 / 486 MB, free: 6.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002166/0.4635, allocations: 0.6328 MB / 486.6 MB, free: 6.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004514/0.464, allocations: 208.2 kB / 486.8 MB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008114/0.4721, allocations: 4.239 MB / 491.1 MB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4721, allocations: 7.938 kB / 491.1 MB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003833/0.4759, allocations: 2.202 MB / 493.3 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.4789, allocations: 0.5718 MB / 493.8 MB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.4889, allocations: 5.76 MB / 499.6 MB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.491, allocations: 2.161 MB / 0.49 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.4917, allocations: 139.4 kB / 0.4901 GB, free: 6.812 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4917, allocations: 0 / 0.4901 GB, free: 6.812 MB / 414.1 MB Notification: Performance of Templates: time 0.2535/0.7452, allocations: 103.2 MB / 0.5909 GB, free: 100.1 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches