Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 109.9 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 191 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009756, allocations: 43.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.232, allocations: 49.44 MB / 400.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01389/0.2459, allocations: 12.88 MB / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.2529, allocations: 4.253 MB / 417.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00096/0.2539, allocations: 75.75 kB / 418 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.2561, allocations: 1.014 MB / 419 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.2593, allocations: 1.348 MB / 420.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2608, allocations: 0.8341 MB / 421.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003642/0.2645, allocations: 4.013 MB / 425.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.2676, allocations: 3.228 MB / 428.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.2697, allocations: 1.896 MB / 430.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.272, allocations: 2.125 MB / 432.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005352/0.2725, allocations: 0.5078 MB / 432.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2736, allocations: 0.7107 MB / 433.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008718/0.2744, allocations: 1.134 MB / 434.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.2763, allocations: 2.128 MB / 436.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.2817, allocations: 6.754 MB / 443.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2817, allocations: 0 / 443.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2817, allocations: 4 kB / 443.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.648e-05/0.2818, allocations: 0 / 443.6 MB, free: 13.9 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.009134/0.2909, allocations: 4.39 MB / 448 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.291, allocations: 12.03 kB / 448 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.295, allocations: 0.8085 MB / 448.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.2992, allocations: 2.459 MB / 451.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.2994, allocations: 246.6 kB / 451.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.2998, allocations: 320 kB / 451.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006919/0.3067, allocations: 4.254 MB / 456.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/0.3068, allocations: 11.84 kB / 456.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.3071, allocations: 128 kB / 456.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.3073, allocations: 146.2 kB / 456.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/0.313, allocations: 3.667 MB / 460.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.3307, allocations: 13.31 MB / 473.4 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/0.3364, allocations: 6.877 MB / 480.3 MB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.3385, allocations: 1.411 MB / 481.7 MB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005138/0.3436, allocations: 3.627 MB / 485.3 MB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3437, allocations: 47.5 kB / 485.3 MB, free: 2.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 2.655e-06/0.3437, allocations: 0 / 485.3 MB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01194/0.3557, allocations: 6.653 MB / 492 MB, free: 11.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3557, allocations: 64.72 kB / 492.1 MB, free: 11.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.3582, allocations: 1.855 MB / 493.9 MB, free: 9.863 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.3583, allocations: 57.64 kB / 494 MB, free: 9.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/0.3592, allocations: 1.419 MB / 495.4 MB, free: 8.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.3595, allocations: 0.4929 MB / 495.9 MB, free: 7.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.36, allocations: 303.3 kB / 496.2 MB, free: 7.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.36, allocations: 305.1 kB / 496.5 MB, free: 7.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3612, allocations: 0.7574 MB / 497.2 MB, free: 6.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3626, allocations: 1.224 MB / 498.5 MB, free: 5.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.3652, allocations: 2.104 MB / 0.4888 GB, free: 2.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3653, allocations: 4 kB / 0.4888 GB, free: 2.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004362/0.3696, allocations: 2.663 MB / 0.4914 GB, free: 116 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.3697, allocations: 16.22 kB / 0.4915 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.3697, allocations: 20 kB / 0.4915 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.371, allocations: 0.5059 MB / 0.492 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.3724, allocations: 387.4 kB / 0.4923 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007733/0.3801, allocations: 6.927 MB / 0.4991 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.3813, allocations: 75.84 kB / 0.4992 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3814, allocations: 79.92 kB / 0.4992 GB, free: 7.824 MB / 430.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.001636/0.3831, allocations: 1.04 MB / 0.5003 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.3834, allocations: 193.7 kB / 0.5004 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.3873, allocations: 2.496 MB / 0.5029 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3874, allocations: 16 kB / 0.5029 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.3874, allocations: 7.938 kB / 0.5029 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.3874, allocations: 7.969 kB / 0.5029 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.3951, allocations: 5.533 MB / 0.5083 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3951, allocations: 0 / 0.5083 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.396, allocations: 223.7 kB / 0.5085 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3972, allocations: 0.4921 MB / 0.509 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.063e-05/0.3973, allocations: 31.98 kB / 0.509 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.4074, allocations: 11.42 MB / 0.5202 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4075, allocations: 0 / 0.5202 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.4127, allocations: 3.578 MB / 0.5237 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/0.4135, allocations: 454.6 kB / 0.5241 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.4137, allocations: 28 kB / 0.5241 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.4146, allocations: 71.94 kB / 0.5242 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/0.4149, allocations: 117 kB / 0.5243 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.415, allocations: 43.98 kB / 0.5244 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001951/0.4169, allocations: 1.286 MB / 0.5256 GB, free: 11.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.417, allocations: 0 / 0.5256 GB, free: 11.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002016/0.419, allocations: 0.5781 MB / 0.5262 GB, free: 11.2 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.0003155/0.4193, allocations: 169.3 kB / 0.5264 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.4233, allocations: 2.402 MB / 0.5287 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4233, allocations: 0.9375 kB / 0.5287 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.4258, allocations: 1.739 MB / 0.5304 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.4276, allocations: 0.5091 MB / 0.5309 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.437, allocations: 5.917 MB / 0.5367 GB, free: 344 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1861/0.6231, allocations: 2.362 MB / 0.539 GB, free: 128.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001822/0.625, allocations: 418.3 kB / 0.5394 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.6254, allocations: 136.3 kB / 0.5395 GB, free: 128.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6254, allocations: 0 / 0.5395 GB, free: 128.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04093/0.6663, allocations: 31.53 MB / 0.5703 GB, free: 106.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches