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.001143/0.001143, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.001191, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 56.03 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2583/0.3684, allocations: 33.5 MB / 392.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3928, allocations: 9.248 MB / 401.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0105/0.4033, allocations: 242.3 kB / 401.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02307/0.4265, allocations: 7.965 MB / 409.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.4429, allocations: 3.664 MB / 413.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008126/0.451, allocations: 2.14 MB / 415.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02189/0.473, allocations: 13.14 MB / 428.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03579/0.5088, allocations: 22.48 MB / 451.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.5213, allocations: 6.553 MB / 457.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.5349, allocations: 7.386 MB / 465.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00706/0.542, allocations: 1.879 MB / 467.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.5521, allocations: 2.261 MB / 469.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008068/0.5602, allocations: 3.749 MB / 473.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01712/0.5774, allocations: 7.109 MB / 480.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03626/0.6137, allocations: 25.04 MB / 0.4934 GB, free: 9.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6137, allocations: 8 kB / 0.4934 GB, free: 9.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6137, allocations: 0 / 0.4934 GB, free: 9.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007107/0.6145, allocations: 0 / 0.4934 GB, free: 9.176 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.05274/0.6672, allocations: 14.62 MB / 0.5077 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6673, allocations: 12.03 kB / 0.5077 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04042/0.7077, allocations: 6.839 MB / 0.5144 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01966/0.7274, allocations: 8.123 MB / 0.5223 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008284/0.7283, allocations: 0.7868 MB / 0.5231 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005295/0.7336, allocations: 1.051 MB / 0.5241 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4727/1.206, allocations: 17.21 MB / 0.5409 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004635/1.207, allocations: 19.14 kB / 0.541 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003434/1.21, allocations: 443.5 kB / 0.5414 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007924/1.211, allocations: 0.627 MB / 0.542 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03725/1.248, allocations: 16.3 MB / 0.5579 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.089/1.337, allocations: 56.31 MB / 0.6129 GB, free: 67.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02308/1.36, allocations: 31.4 MB / 0.6436 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006892/1.367, allocations: 4.367 MB / 0.6478 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/1.386, allocations: 10.71 MB / 0.6583 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.386, allocations: 77.75 kB / 0.6584 GB, free: 17.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.661e-06/1.386, allocations: 0 / 0.6584 GB, free: 17.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04002/1.426, allocations: 21.54 MB / 0.6794 GB, free: 11.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/1.426, allocations: 124.7 kB / 0.6795 GB, free: 11.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009963/1.436, allocations: 4.71 MB / 0.6841 GB, free: 6.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.438, allocations: 97.7 kB / 0.6842 GB, free: 6.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004865/1.442, allocations: 4.672 MB / 0.6888 GB, free: 1.809 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002948/1.445, allocations: 1.446 MB / 0.6902 GB, free: 384 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/1.448, allocations: 1.136 MB / 0.6913 GB, free: 15.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/1.448, allocations: 301.1 kB / 0.6916 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005249/1.453, allocations: 2.905 MB / 0.6944 GB, free: 12.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006464/1.46, allocations: 4.945 MB / 0.6992 GB, free: 6.148 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.471, allocations: 8.349 MB / 0.7074 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.148e-05/1.471, allocations: 20 kB / 0.7074 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01742/1.488, allocations: 9.73 MB / 0.7169 GB, free: 3.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/1.488, allocations: 33.72 kB / 0.717 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.489, allocations: 64 kB / 0.717 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004423/1.493, allocations: 1.655 MB / 0.7186 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3175/1.811, allocations: 1.312 MB / 0.7199 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/1.835, allocations: 17.75 MB / 0.7372 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/1.841, allocations: 330.2 kB / 0.7376 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.842, allocations: 281 kB / 0.7378 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.009109/1.851, allocations: 3.903 MB / 0.7416 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.853, allocations: 0.4912 MB / 0.7421 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.866, allocations: 7.793 MB / 0.7497 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.866, allocations: 48.88 kB / 0.7498 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.747e-05/1.866, allocations: 13.62 kB / 0.7498 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/1.866, allocations: 22.41 kB / 0.7498 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.895, allocations: 17.47 MB / 0.7669 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.895, allocations: 6.812 kB / 0.7669 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.898, allocations: 0.7248 MB / 0.7676 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/1.901, allocations: 1.553 MB / 0.7691 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004714/1.902, allocations: 102.6 kB / 0.7692 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/1.92, allocations: 21.21 MB / 0.7899 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.921, allocations: 11.75 kB / 0.7899 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.936, allocations: 11.45 MB / 0.8011 GB, free: 107.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/1.939, allocations: 1.149 MB / 0.8022 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.94, allocations: 92.06 kB / 0.8023 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.943, allocations: 235.8 kB / 0.8025 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007486/1.943, allocations: 329.7 kB / 0.8029 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002743/1.944, allocations: 132 kB / 0.803 GB, free: 105.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004176/1.948, allocations: 3.194 MB / 0.8061 GB, free: 102.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.948, allocations: 0 / 0.8061 GB, free: 102.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006481/1.954, allocations: 1.866 MB / 0.8079 GB, free: 100.4 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.0007398/1.955, allocations: 273.9 kB / 0.8082 GB, free: 100.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.966, allocations: 8.139 MB / 0.8161 GB, free: 91.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.966, allocations: 0.875 kB / 0.8161 GB, free: 91.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006476/1.973, allocations: 4.651 MB / 0.8207 GB, free: 87.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/1.979, allocations: 1.311 MB / 0.822 GB, free: 85.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/2.011, allocations: 19.17 MB / 0.8407 GB, free: 66.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007827/2.019, allocations: 6.777 MB / 0.8473 GB, free: 59.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005276/2.025, allocations: 1.861 MB / 0.8491 GB, free: 57.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/2.026, allocations: 379.4 kB / 0.8495 GB, free: 57.62 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/2.026, allocations: 0 / 0.8495 GB, free: 57.62 MB / 494.1 MB Notification: Performance of Templates: time 0.3098/2.336, allocations: 78.83 MB / 0.9265 GB, free: 139.7 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/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