Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 50.54 MB / 409.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01423/0.2761, allocations: 13.51 MB / 423.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009163/0.2853, allocations: 4.522 MB / 428 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.2878, allocations: 79.69 kB / 428.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.2909, allocations: 0.9979 MB / 429.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.2952, allocations: 1.273 MB / 430.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.2975, allocations: 0.902 MB / 431.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005173/0.3027, allocations: 4.063 MB / 435.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003796/0.3065, allocations: 3.232 MB / 438.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.3094, allocations: 1.92 MB / 440.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.3126, allocations: 2.238 MB / 442.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.3137, allocations: 0.5078 MB / 443.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.3154, allocations: 0.7303 MB / 443.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.3164, allocations: 1.149 MB / 445.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002741/0.3192, allocations: 2.132 MB / 447.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.3261, allocations: 6.793 MB / 454 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.3262, allocations: 3.984 kB / 454 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.3262, allocations: 0 / 454 MB, free: 5.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.3264, allocations: 0 / 454 MB, free: 5.406 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01199/0.3384, allocations: 4.433 MB / 458.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3384, allocations: 12.03 kB / 458.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.343, allocations: 0.8475 MB / 459.3 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.3479, allocations: 2.495 MB / 461.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3482, allocations: 234.6 kB / 462 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008584/0.349, allocations: 327.8 kB / 462.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007722/0.3568, allocations: 4.25 MB / 466.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.059e-05/0.3569, allocations: 7.938 kB / 466.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.3572, allocations: 124 kB / 466.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3574, allocations: 142.2 kB / 466.8 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.3641, allocations: 3.667 MB / 470.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.386, allocations: 13.4 MB / 483.9 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00642/0.3924, allocations: 6.901 MB / 490.8 MB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.395, allocations: 1.41 MB / 492.2 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006758/0.4018, allocations: 3.873 MB / 496.1 MB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.4019, allocations: 51.55 kB / 496.1 MB, free: 9.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.777e-06/0.4019, allocations: 0 / 496.1 MB, free: 9.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01365/0.4155, allocations: 6.647 MB / 0.491 GB, free: 2.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4156, allocations: 72.7 kB / 0.4911 GB, free: 2.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.4189, allocations: 1.88 MB / 0.4929 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.4192, allocations: 57.64 kB / 0.493 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4202, allocations: 1.439 MB / 0.4944 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.4208, allocations: 0.489 MB / 0.4949 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006241/0.4214, allocations: 307.3 kB / 0.4951 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.4215, allocations: 301.1 kB / 0.4954 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4228, allocations: 0.7652 MB / 0.4962 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.4243, allocations: 1.216 MB / 0.4974 GB, free: 12.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.4272, allocations: 2.111 MB / 0.4994 GB, free: 9.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.4273, allocations: 4 kB / 0.4994 GB, free: 9.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004799/0.4321, allocations: 2.667 MB / 0.502 GB, free: 7.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4322, allocations: 16.27 kB / 0.5021 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.4322, allocations: 20 kB / 0.5021 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.4336, allocations: 0.4977 MB / 0.5026 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.4351, allocations: 383.4 kB / 0.5029 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008437/0.4436, allocations: 6.914 MB / 0.5097 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4452, allocations: 79.81 kB / 0.5098 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.4455, allocations: 75.98 kB / 0.5098 GB, free: 14.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.4474, allocations: 1.048 MB / 0.5108 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.4479, allocations: 201.6 kB / 0.511 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.4525, allocations: 2.504 MB / 0.5135 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.4526, allocations: 15.94 kB / 0.5135 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.4526, allocations: 8 kB / 0.5135 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.4526, allocations: 7.969 kB / 0.5135 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.4627, allocations: 5.545 MB / 0.5189 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4627, allocations: 4 kB / 0.5189 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4638, allocations: 215.7 kB / 0.5191 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4651, allocations: 0.4883 MB / 0.5196 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.4653, allocations: 39.92 kB / 0.5197 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.4761, allocations: 11.42 MB / 0.5308 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4761, allocations: 4.031 kB / 0.5308 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/0.4819, allocations: 3.574 MB / 0.5343 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.4831, allocations: 454.6 kB / 0.5347 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.4836, allocations: 32 kB / 0.5348 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.4848, allocations: 59.95 kB / 0.5348 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.4852, allocations: 129 kB / 0.5349 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.4853, allocations: 36 kB / 0.535 GB, free: 3.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.4876, allocations: 1.306 MB / 0.5363 GB, free: 2.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4876, allocations: 0 / 0.5363 GB, free: 2.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002423/0.49, allocations: 0.5859 MB / 0.5368 GB, free: 2.102 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004393/0.4905, allocations: 163.2 kB / 0.537 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2068/0.6973, allocations: 2.399 MB / 0.5393 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6973, allocations: 0.5 kB / 0.5393 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00315/0.7005, allocations: 1.727 MB / 0.541 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.7031, allocations: 0.5425 MB / 0.5415 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/0.7127, allocations: 5.926 MB / 0.5473 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.7143, allocations: 2.323 MB / 0.5496 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/0.715, allocations: 144.2 kB / 0.5497 GB, free: 120.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.715, allocations: 0 / 0.5497 GB, free: 120.7 MB / 462.1 MB Notification: Performance of Templates: time 0.07759/0.7926, allocations: 98.54 MB / 0.646 GB, free: 26.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches