Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 93.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 4 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.101, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2027/0.3038, allocations: 16.17 MB / 374.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3148, allocations: 5.701 MB / 379.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.3183, allocations: 104.6 kB / 380.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.3223, allocations: 1.029 MB / 381.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.3295, allocations: 1.676 MB / 382.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.3328, allocations: 0.8196 MB / 383.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009795/0.3427, allocations: 4.305 MB / 387.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006273/0.349, allocations: 3.612 MB / 391.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.3538, allocations: 1.994 MB / 393.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00547/0.3594, allocations: 2.44 MB / 395.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.361, allocations: 329.4 kB / 396.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.3649, allocations: 0.5551 MB / 396.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.3669, allocations: 1.342 MB / 398.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.3695, allocations: 1.17 MB / 399.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.38, allocations: 8.618 MB / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.38, allocations: 0 / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.38, allocations: 0 / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003934/0.3804, allocations: 0 / 407.9 MB, free: 11.19 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01528/0.3957, allocations: 5.697 MB / 413.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3958, allocations: 8.031 kB / 413.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006485/0.4023, allocations: 1.121 MB / 414.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007793/0.4101, allocations: 3.515 MB / 418.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.4105, allocations: 390.3 kB / 418.7 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.4121, allocations: 0.5154 MB / 419.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.4272, allocations: 6.875 MB / 426 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.4273, allocations: 11.94 kB / 426.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.4279, allocations: 208 kB / 426.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.4282, allocations: 234.2 kB / 426.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.4404, allocations: 5.904 MB / 432.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04082/0.4813, allocations: 21.47 MB / 453.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008689/0.49, allocations: 8.715 MB / 462.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5007, allocations: 5.355 MB / 467.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.5008, allocations: 60.56 kB / 468 MB, free: 13.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=227): time 4.138e-06/0.5008, allocations: 0 / 468 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.02378/0.5246, allocations: 11.72 MB / 479.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5247, allocations: 81.41 kB / 479.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/0.5298, allocations: 2.921 MB / 482.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003814/0.5302, allocations: 69.7 kB / 482.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.5318, allocations: 2.32 MB / 485.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000935/0.5328, allocations: 0.8356 MB / 485.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.5331, allocations: 56 kB / 486 MB, free: 10.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5333, allocations: 420 kB / 486.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.5356, allocations: 1.38 MB / 487.8 MB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.5384, allocations: 2.138 MB / 489.9 MB, free: 6.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.5413, allocations: 1.737 MB / 491.7 MB, free: 4.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.5413, allocations: 8 kB / 491.7 MB, free: 4.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.008431/0.5497, allocations: 4.708 MB / 496.4 MB, free: 144 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.5498, allocations: 16 kB / 496.4 MB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/0.5499, allocations: 24.66 kB / 496.4 MB, free: 104 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.5517, allocations: 0.7497 MB / 497.2 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/0.5544, allocations: 0.6435 MB / 497.8 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.5666, allocations: 13.55 MB / 0.4994 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5694, allocations: 155.8 kB / 0.4995 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/0.5698, allocations: 120 kB / 0.4996 GB, free: 15.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003072/0.5729, allocations: 1.606 MB / 0.5012 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/0.5736, allocations: 328 kB / 0.5015 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006958/0.5806, allocations: 4.282 MB / 0.5057 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.5806, allocations: 32.08 kB / 0.5057 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.5806, allocations: 8 kB / 0.5057 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.5807, allocations: 19.89 kB / 0.5058 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.5959, allocations: 9.213 MB / 0.5147 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.596, allocations: 4 kB / 0.5148 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.5977, allocations: 399.7 kB / 0.5151 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.6, allocations: 0.92 MB / 0.516 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.6002, allocations: 67.97 kB / 0.5161 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2107/0.8109, allocations: 16.73 MB / 0.5324 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.8109, allocations: 9.203 kB / 0.5324 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.821, allocations: 6.534 MB / 0.5388 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/0.8231, allocations: 0.7052 MB / 0.5395 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/0.8236, allocations: 62.25 kB / 0.5396 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.8251, allocations: 143 kB / 0.5397 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005576/0.8256, allocations: 199.9 kB / 0.5399 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.8258, allocations: 71.28 kB / 0.54 GB, free: 132.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003243/0.8291, allocations: 1.982 MB / 0.5419 GB, free: 131.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.8291, allocations: 0 / 0.5419 GB, free: 131.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003768/0.8328, allocations: 0.9936 MB / 0.5429 GB, free: 131.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000522/0.8334, allocations: 222.6 kB / 0.5431 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.84, allocations: 4.642 MB / 0.5476 GB, free: 129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.84, allocations: 5.344 kB / 0.5476 GB, free: 128.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004281/0.8443, allocations: 3.088 MB / 0.5506 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.849, allocations: 0.8387 MB / 0.5515 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.8665, allocations: 11.92 MB / 0.5631 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/0.8694, allocations: 3.531 MB / 0.5665 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002658/0.8721, allocations: 0.7827 MB / 0.5673 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.8727, allocations: 215.8 kB / 0.5675 GB, free: 118.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.8727, allocations: 0 / 0.5675 GB, free: 118.8 MB / 446.1 MB Notification: Performance of Templates: time 0.07011/0.9428, allocations: 47.45 MB / 0.6139 GB, free: 73.41 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches