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.0008541/0.0008543, allocations: 99.12 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009257/0.0009258, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002083, allocations: 8 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.0991, allocations: 51.53 MB / 358.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.208/0.3072, allocations: 29.3 MB / 388 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3245, allocations: 8.581 MB / 396.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006137/0.3307, allocations: 220.4 kB / 396.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005975/0.3367, allocations: 1.646 MB / 398.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3488, allocations: 3.016 MB / 401.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005956/0.3548, allocations: 1.407 MB / 402.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0217/0.3765, allocations: 15.86 MB / 418.7 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02851/0.405, allocations: 17.6 MB / 436.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007397/0.4125, allocations: 4.785 MB / 441.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008461/0.4209, allocations: 5.444 MB / 446.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.4225, allocations: 0.7266 MB / 447.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.4259, allocations: 1.086 MB / 448.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.428, allocations: 2.363 MB / 450.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003753/0.4318, allocations: 2.391 MB / 453.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.4515, allocations: 21.11 MB / 474.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4516, allocations: 0 / 474.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4516, allocations: 0 / 474.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004627/0.4521, allocations: 0 / 474.2 MB, free: 8.391 MB / 382.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.03093/0.483, allocations: 12.41 MB / 486.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4831, allocations: 12.03 kB / 486.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03604/0.5191, allocations: 6.83 MB / 493.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.5343, allocations: 7.775 MB / 0.4895 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008116/0.5352, allocations: 0.7908 MB / 0.4902 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003811/0.539, allocations: 1.054 MB / 0.4913 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/0.579, allocations: 17.14 MB / 0.508 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002375/0.5793, allocations: 23.83 kB / 0.508 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.5807, allocations: 444 kB / 0.5084 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006093/0.5813, allocations: 0.6236 MB / 0.5091 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0351/0.6164, allocations: 16.22 MB / 0.5249 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4284/1.045, allocations: 57.12 MB / 0.5807 GB, free: 92.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02415/1.069, allocations: 31.35 MB / 0.6113 GB, free: 62.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007914/1.077, allocations: 4.381 MB / 0.6156 GB, free: 60.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/1.095, allocations: 10.76 MB / 0.6261 GB, free: 49.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.339e-05/1.096, allocations: 77.75 kB / 0.6262 GB, free: 49.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 7.424e-06/1.096, allocations: 0 / 0.6262 GB, free: 49.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.05749/1.153, allocations: 23.47 MB / 0.6491 GB, free: 26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.153, allocations: 120.7 kB / 0.6492 GB, free: 25.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007215/1.16, allocations: 4.671 MB / 0.6537 GB, free: 21.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005574/1.161, allocations: 89.7 kB / 0.6538 GB, free: 21.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.163, allocations: 4.672 MB / 0.6584 GB, free: 16.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.164, allocations: 1.445 MB / 0.6598 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/1.165, allocations: 124 kB / 0.6599 GB, free: 14.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/1.165, allocations: 0.5383 MB / 0.6605 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/1.168, allocations: 2.897 MB / 0.6633 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0041/1.172, allocations: 4.93 MB / 0.6681 GB, free: 5.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/1.177, allocations: 3.938 MB / 0.6719 GB, free: 1.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/1.177, allocations: 20 kB / 0.672 GB, free: 1.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01578/1.193, allocations: 9.705 MB / 0.6814 GB, free: 7.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/1.193, allocations: 32 kB / 0.6815 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.664e-05/1.193, allocations: 68 kB / 0.6815 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/1.197, allocations: 1.661 MB / 0.6832 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/1.202, allocations: 1.322 MB / 0.6844 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/1.224, allocations: 16.47 MB / 0.7005 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.229, allocations: 327.7 kB / 0.7008 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006975/1.23, allocations: 284 kB / 0.7011 GB, free: 3.094 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007704/1.238, allocations: 3.909 MB / 0.7049 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.239, allocations: 0.4939 MB / 0.7054 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.252, allocations: 7.784 MB / 0.713 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/1.252, allocations: 48 kB / 0.7131 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.253, allocations: 16 kB / 0.7131 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.962e-05/1.253, allocations: 19.92 kB / 0.7131 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2185/1.471, allocations: 17.45 MB / 0.7301 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.471, allocations: 6.625 kB / 0.7301 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.474, allocations: 0.7271 MB / 0.7309 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/1.478, allocations: 1.557 MB / 0.7324 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.478, allocations: 100.5 kB / 0.7325 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.496, allocations: 19.5 MB / 0.7515 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.496, allocations: 17.55 kB / 0.7515 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.511, allocations: 11.43 MB / 0.7627 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.514, allocations: 1.162 MB / 0.7638 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007115/1.514, allocations: 90.44 kB / 0.7639 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.517, allocations: 234.9 kB / 0.7641 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/1.517, allocations: 330.8 kB / 0.7644 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.517, allocations: 132.9 kB / 0.7646 GB, free: 138.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004397/1.522, allocations: 3.155 MB / 0.7677 GB, free: 137.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.522, allocations: 3.375 kB / 0.7677 GB, free: 137.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006545/1.528, allocations: 1.868 MB / 0.7695 GB, free: 136.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007069/1.529, allocations: 287.1 kB / 0.7698 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.541, allocations: 8.06 MB / 0.7776 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.541, allocations: 4 kB / 0.7776 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007009/1.548, allocations: 4.64 MB / 0.7822 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.554, allocations: 1.265 MB / 0.7834 GB, free: 124.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/1.587, allocations: 23.03 MB / 0.8059 GB, free: 101.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006792/1.593, allocations: 6.782 MB / 0.8125 GB, free: 94.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00578/1.599, allocations: 1.861 MB / 0.8143 GB, free: 92.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.6, allocations: 379.4 kB / 0.8147 GB, free: 92.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.6, allocations: 0 / 0.8147 GB, free: 92.25 MB / 494.1 MB Notification: Performance of Templates: time 0.116/1.716, allocations: 79.44 MB / 0.8923 GB, free: 13.36 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.0.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