Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.001029/0.00103, allocations: 93.53 kB / 16.65 MB, free: 6.535 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.001088/0.001088, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.354/1.354, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 7.938 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09222, allocations: 50.42 MB / 351.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2075/0.2998, allocations: 30.99 MB / 382.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.3216, allocations: 8.814 MB / 391.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009903/0.3315, allocations: 223.7 kB / 391.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.3428, allocations: 2.105 MB / 394 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.3575, allocations: 3.327 MB / 397.3 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005739/0.3633, allocations: 1.842 MB / 399.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01782/0.3811, allocations: 13.34 MB / 412.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03802/0.4192, allocations: 21.52 MB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009687/0.4289, allocations: 4.616 MB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01137/0.4403, allocations: 5.66 MB / 444.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003646/0.444, allocations: 0.7305 MB / 445 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.4501, allocations: 1.093 MB / 446.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005105/0.4553, allocations: 2.39 MB / 448.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01575/0.4711, allocations: 5.646 MB / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03242/0.5035, allocations: 23.45 MB / 477.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5036, allocations: 0 / 477.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5036, allocations: 0 / 477.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008937/0.5045, allocations: 0 / 477.6 MB, free: 7.785 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.04087/0.5454, allocations: 12.25 MB / 489.9 MB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5455, allocations: 12.03 kB / 489.9 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03885/0.5843, allocations: 6.78 MB / 496.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/0.6039, allocations: 7.861 MB / 0.4927 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/0.6051, allocations: 0.7986 MB / 0.4935 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004976/0.6101, allocations: 1.054 MB / 0.4945 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05847/0.6686, allocations: 17.23 MB / 0.5113 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006391/0.6693, allocations: 11.91 kB / 0.5113 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006213/0.6755, allocations: 444 kB / 0.5118 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000815/0.6764, allocations: 0.6314 MB / 0.5124 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4174/1.094, allocations: 16.31 MB / 0.5283 GB, free: 112 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08236/1.176, allocations: 55.98 MB / 0.583 GB, free: 74.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/1.198, allocations: 31.09 MB / 0.6133 GB, free: 39.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006303/1.204, allocations: 4.345 MB / 0.6176 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/1.219, allocations: 10.47 MB / 0.6278 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.219, allocations: 77.75 kB / 0.6279 GB, free: 24.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.931e-06/1.219, allocations: 0 / 0.6279 GB, free: 24.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.0417/1.261, allocations: 21.67 MB / 0.649 GB, free: 2.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.261, allocations: 128.7 kB / 0.6492 GB, free: 2.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/1.268, allocations: 4.673 MB / 0.6537 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007054/1.268, allocations: 93.7 kB / 0.6538 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003171/1.272, allocations: 4.656 MB / 0.6584 GB, free: 9.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.273, allocations: 1.449 MB / 0.6598 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/1.274, allocations: 474.9 kB / 0.6602 GB, free: 7.172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/1.274, allocations: 301.1 kB / 0.6605 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/1.279, allocations: 2.916 MB / 0.6634 GB, free: 3.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005928/1.285, allocations: 4.953 MB / 0.6682 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.296, allocations: 8.365 MB / 0.6764 GB, free: 4.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-05/1.296, allocations: 23.94 kB / 0.6764 GB, free: 4.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01902/1.315, allocations: 9.743 MB / 0.6859 GB, free: 10.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/1.315, allocations: 36 kB / 0.6859 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.315, allocations: 67.98 kB / 0.686 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/1.32, allocations: 1.656 MB / 0.6876 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005263/1.326, allocations: 1.318 MB / 0.6889 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.214/1.54, allocations: 16.47 MB / 0.705 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.544, allocations: 332.6 kB / 0.7053 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006558/1.545, allocations: 287.5 kB / 0.7056 GB, free: 142.4 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 (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.00657/1.552, allocations: 3.885 MB / 0.7094 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.553, allocations: 495.3 kB / 0.7099 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.566, allocations: 7.809 MB / 0.7175 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.566, allocations: 42.34 kB / 0.7175 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/1.566, allocations: 19 kB / 0.7175 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.566, allocations: 21.38 kB / 0.7176 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.595, allocations: 17.49 MB / 0.7346 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.595, allocations: 3.812 kB / 0.7346 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/1.598, allocations: 0.735 MB / 0.7354 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/1.601, allocations: 1.546 MB / 0.7369 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.602, allocations: 106.8 kB / 0.737 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/1.62, allocations: 19.53 MB / 0.756 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.62, allocations: 7.75 kB / 0.7561 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.637, allocations: 11.47 MB / 0.7673 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.639, allocations: 1.176 MB / 0.7684 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.64, allocations: 88 kB / 0.7685 GB, free: 105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.643, allocations: 233.8 kB / 0.7687 GB, free: 104.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/1.644, allocations: 339.1 kB / 0.769 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/1.644, allocations: 127.1 kB / 0.7692 GB, free: 104.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004177/1.648, allocations: 3.172 MB / 0.7723 GB, free: 101.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.648, allocations: 3.75 kB / 0.7723 GB, free: 101.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007524/1.656, allocations: 1.858 MB / 0.7741 GB, free: 99.69 MB / 478.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.0008354/1.657, allocations: 274 kB / 0.7743 GB, free: 99.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01242/1.669, allocations: 8.139 MB / 0.7823 GB, free: 91.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.669, allocations: 4 kB / 0.7823 GB, free: 91.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007591/1.677, allocations: 4.65 MB / 0.7868 GB, free: 86.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/1.687, allocations: 1.236 MB / 0.788 GB, free: 85.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/1.718, allocations: 24.04 MB / 0.8115 GB, free: 61.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006911/1.725, allocations: 6.762 MB / 0.8181 GB, free: 54.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005804/1.731, allocations: 1.861 MB / 0.8199 GB, free: 52.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.732, allocations: 371.4 kB / 0.8203 GB, free: 52.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/1.732, allocations: 0 / 0.8203 GB, free: 52.1 MB / 478.1 MB Notification: Performance of Templates: time 0.3168/2.049, allocations: 80.64 MB / 0.899 GB, free: 118.2 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches