Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.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_4.1.0-beta.om_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_4.1.0-beta.om_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.001297/0.001297, allocations: 119.6 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 206.7 kB / 19.41 MB, free: 3.656 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.418/1.418, allocations: 227.6 MB / 247.9 MB, free: 10.19 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.001957/0.001957, allocations: 67.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2506, allocations: 50.54 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01565/0.2663, allocations: 13.55 MB / 423.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008636/0.2749, allocations: 4.536 MB / 428.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.2769, allocations: 79.69 kB / 428.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.2796, allocations: 1.041 MB / 429.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.2835, allocations: 1.321 MB / 430.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.2856, allocations: 0.8884 MB / 431.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.2909, allocations: 4.059 MB / 435.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.294, allocations: 2.261 MB / 438 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.2969, allocations: 1.908 MB / 439.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.3005, allocations: 2.246 MB / 442.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000772/0.3013, allocations: 0.5117 MB / 442.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3029, allocations: 0.7263 MB / 443.3 MB, free: 136 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.304, allocations: 1.153 MB / 444.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.3064, allocations: 2.132 MB / 446.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.3141, allocations: 6.817 MB / 453.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3141, allocations: 0 / 453.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3141, allocations: 0 / 453.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.3143, allocations: 0 / 453.4 MB, free: 5.996 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.0114/0.3257, allocations: 4.534 MB / 458 MB, free: 1.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3257, allocations: 8.031 kB / 458 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.3304, allocations: 0.8573 MB / 458.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.335, allocations: 2.512 MB / 461.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3352, allocations: 238.6 kB / 461.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/0.3358, allocations: 319.9 kB / 461.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.3435, allocations: 4.258 MB / 466.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.477e-05/0.3436, allocations: 3.953 kB / 466.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.3439, allocations: 128 kB / 466.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.344, allocations: 146.2 kB / 466.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006839/0.3509, allocations: 3.659 MB / 470.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.3725, allocations: 13.45 MB / 483.5 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007803/0.3803, allocations: 6.763 MB / 490.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.3827, allocations: 1.309 MB / 491.6 MB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/0.3893, allocations: 3.869 MB / 495.5 MB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.3894, allocations: 51.5 kB / 495.5 MB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.565e-06/0.3894, allocations: 4 kB / 495.5 MB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01414/0.4035, allocations: 6.67 MB / 0.4904 GB, free: 3.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.4036, allocations: 64.72 kB / 0.4905 GB, free: 3.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.4065, allocations: 1.9 MB / 0.4923 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.4066, allocations: 49.7 kB / 0.4924 GB, free: 1.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.4078, allocations: 1.479 MB / 0.4938 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.4083, allocations: 0.5112 MB / 0.4943 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005093/0.4088, allocations: 303.5 kB / 0.4946 GB, free: 15.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4089, allocations: 301.1 kB / 0.4949 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4102, allocations: 0.7652 MB / 0.4957 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.412, allocations: 1.22 MB / 0.4969 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.4152, allocations: 2.111 MB / 0.4989 GB, free: 10.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4152, allocations: 4 kB / 0.4989 GB, free: 10.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005053/0.4202, allocations: 2.66 MB / 0.5015 GB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.4203, allocations: 12 kB / 0.5015 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4203, allocations: 12 kB / 0.5015 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.4217, allocations: 0.5097 MB / 0.502 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.4233, allocations: 379.5 kB / 0.5024 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009404/0.4327, allocations: 6.923 MB / 0.5092 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.4342, allocations: 88 kB / 0.5092 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4343, allocations: 67.98 kB / 0.5093 GB, free: 15.37 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.001848/0.4362, allocations: 1.047 MB / 0.5103 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.4366, allocations: 206.7 kB / 0.5105 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.4412, allocations: 2.488 MB / 0.513 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.4412, allocations: 19.94 kB / 0.513 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.4412, allocations: 8 kB / 0.513 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.4412, allocations: 7.969 kB / 0.513 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009554/0.4508, allocations: 5.53 MB / 0.5184 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4508, allocations: 3.984 kB / 0.5184 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4518, allocations: 219.9 kB / 0.5186 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.4532, allocations: 499.8 kB / 0.5191 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.4532, allocations: 39.98 kB / 0.5191 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.4653, allocations: 11.44 MB / 0.5303 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4653, allocations: 3.938 kB / 0.5303 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.4714, allocations: 3.567 MB / 0.5338 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.4724, allocations: 467.6 kB / 0.5342 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4726, allocations: 32 kB / 0.5343 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.4736, allocations: 67.89 kB / 0.5343 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4739, allocations: 113.1 kB / 0.5344 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.4739, allocations: 39.98 kB / 0.5345 GB, free: 4.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.476, allocations: 1.306 MB / 0.5357 GB, free: 3.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.476, allocations: 0 / 0.5357 GB, free: 3.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002076/0.478, allocations: 0.5898 MB / 0.5363 GB, free: 2.688 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.0004155/0.4784, allocations: 163.2 kB / 0.5365 GB, free: 2.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004592/0.483, allocations: 2.32 MB / 0.5387 GB, free: 176 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.483, allocations: 0 / 0.5387 GB, free: 176 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1839/0.667, allocations: 1.66 MB / 0.5404 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.6698, allocations: 0.534 MB / 0.5409 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/0.6784, allocations: 6.045 MB / 0.5468 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.6799, allocations: 2.383 MB / 0.5491 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.6812, allocations: 417.3 kB / 0.5495 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6815, allocations: 136.2 kB / 0.5496 GB, free: 120.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6815, allocations: 0 / 0.5496 GB, free: 120.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04716/0.7287, allocations: 32.1 MB / 0.581 GB, free: 93.12 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches