Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001724, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 64.52 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2301/0.3378, allocations: 33.49 MB / 391.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3589, allocations: 9.238 MB / 400.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008266/0.3672, allocations: 243.2 kB / 400.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01936/0.3866, allocations: 7.967 MB / 408.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.4006, allocations: 3.657 MB / 412.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007364/0.408, allocations: 2.158 MB / 414.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01958/0.4276, allocations: 13.05 MB / 427.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03953/0.4671, allocations: 22.62 MB / 450 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.4782, allocations: 6.537 MB / 456.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01295/0.4911, allocations: 7.405 MB / 463.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00527/0.4965, allocations: 1.879 MB / 465.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007247/0.5037, allocations: 2.288 MB / 468.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006177/0.5099, allocations: 3.741 MB / 471.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.014/0.524, allocations: 7.117 MB / 479 MB, free: 2.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03639/0.5604, allocations: 24.92 MB / 0.4921 GB, free: 9.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.5604, allocations: 4 kB / 0.4921 GB, free: 9.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5604, allocations: 0 / 0.4921 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006382/0.5611, allocations: 0 / 0.4921 GB, free: 9.648 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04633/0.6074, allocations: 14.67 MB / 0.5064 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6075, allocations: 8.031 kB / 0.5064 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03993/0.6475, allocations: 6.694 MB / 0.5129 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/0.6652, allocations: 7.928 MB / 0.5207 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.6662, allocations: 0.7947 MB / 0.5215 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/0.6709, allocations: 1.051 MB / 0.5225 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3723/1.043, allocations: 17.25 MB / 0.5393 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004399/1.044, allocations: 16.44 kB / 0.5393 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003236/1.047, allocations: 445.5 kB / 0.5398 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007408/1.048, allocations: 0.6259 MB / 0.5404 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03298/1.081, allocations: 16.34 MB / 0.5563 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08275/1.163, allocations: 57.01 MB / 0.612 GB, free: 67.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.185, allocations: 31.42 MB / 0.6427 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006191/1.191, allocations: 4.371 MB / 0.647 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/1.207, allocations: 10.8 MB / 0.6575 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.207, allocations: 81.81 kB / 0.6576 GB, free: 17.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.21e-06/1.207, allocations: 0 / 0.6576 GB, free: 17.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04912/1.256, allocations: 21.59 MB / 0.6787 GB, free: 11.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/1.256, allocations: 120.7 kB / 0.6788 GB, free: 11.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009141/1.265, allocations: 4.71 MB / 0.6834 GB, free: 6.391 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000878/1.266, allocations: 93.7 kB / 0.6835 GB, free: 6.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003955/1.27, allocations: 4.675 MB / 0.6881 GB, free: 1.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002159/1.272, allocations: 1.447 MB / 0.6895 GB, free: 156 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003399/1.276, allocations: 1.152 MB / 0.6906 GB, free: 14.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/1.276, allocations: 305.1 kB / 0.6909 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/1.281, allocations: 2.912 MB / 0.6937 GB, free: 11.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007132/1.288, allocations: 4.957 MB / 0.6986 GB, free: 5.887 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.302, allocations: 8.357 MB / 0.7067 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.958e-05/1.302, allocations: 20 kB / 0.7067 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02201/1.324, allocations: 9.767 MB / 0.7163 GB, free: 2.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/1.324, allocations: 32 kB / 0.7163 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.324, allocations: 64 kB / 0.7164 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/1.329, allocations: 1.659 MB / 0.718 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2212/1.55, allocations: 1.32 MB / 0.7193 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.574, allocations: 17.77 MB / 0.7366 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/1.579, allocations: 323.4 kB / 0.7369 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/1.58, allocations: 286.9 kB / 0.7372 GB, free: 147.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007696/1.588, allocations: 3.891 MB / 0.741 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.589, allocations: 0.4941 MB / 0.7415 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.603, allocations: 7.793 MB / 0.7491 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/1.603, allocations: 39.44 kB / 0.7491 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.603, allocations: 19.75 kB / 0.7492 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.976e-05/1.603, allocations: 26.62 kB / 0.7492 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.628, allocations: 17.52 MB / 0.7663 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.628, allocations: 10.83 kB / 0.7663 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.631, allocations: 0.7321 MB / 0.767 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/1.635, allocations: 1.562 MB / 0.7686 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/1.635, allocations: 105.7 kB / 0.7687 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/1.654, allocations: 21.24 MB / 0.7894 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.654, allocations: 20.14 kB / 0.7894 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.669, allocations: 11.47 MB / 0.8006 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/1.672, allocations: 1.153 MB / 0.8017 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/1.673, allocations: 95.86 kB / 0.8018 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.675, allocations: 227.8 kB / 0.802 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007459/1.676, allocations: 331.3 kB / 0.8024 GB, free: 105.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.676, allocations: 132 kB / 0.8025 GB, free: 105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004437/1.681, allocations: 3.19 MB / 0.8056 GB, free: 101.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.681, allocations: 0 / 0.8056 GB, free: 101.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006269/1.687, allocations: 1.877 MB / 0.8074 GB, free: 99.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,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.0006082/1.688, allocations: 285.9 kB / 0.8077 GB, free: 99.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02155/1.709, allocations: 11.61 MB / 0.819 GB, free: 88.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.709, allocations: 0 / 0.819 GB, free: 88.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006646/1.716, allocations: 4.659 MB / 0.8236 GB, free: 83.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00637/1.722, allocations: 1.31 MB / 0.8249 GB, free: 82.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/1.756, allocations: 19.3 MB / 0.8437 GB, free: 62.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007399/1.764, allocations: 6.774 MB / 0.8503 GB, free: 55.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00543/1.769, allocations: 1.861 MB / 0.8522 GB, free: 53.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.77, allocations: 399.3 kB / 0.8525 GB, free: 53.59 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/1.77, allocations: 0 / 0.8525 GB, free: 53.59 MB / 494.1 MB Notification: Performance of Templates: time 0.3342/2.105, allocations: 84.16 MB / 0.9347 GB, free: 131.3 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches