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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 241 MB, free: 10.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007943/0.0007942, allocations: 92.95 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002562, allocations: 8 kB / 351.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2231, allocations: 50.4 MB / 402.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01969/0.2429, allocations: 28.74 MB / 431 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.2587, allocations: 8.332 MB / 439.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.264, allocations: 219.2 kB / 439.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.269, allocations: 1.635 MB / 441.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008978/0.278, allocations: 3.009 MB / 444.2 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.2824, allocations: 1.38 MB / 445.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01954/0.3019, allocations: 15.64 MB / 461.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03099/0.333, allocations: 17.58 MB / 478.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007919/0.3409, allocations: 4.773 MB / 483.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008202/0.3491, allocations: 5.429 MB / 489 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.3518, allocations: 0.7266 MB / 489.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.3566, allocations: 1.062 MB / 490.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.3602, allocations: 2.355 MB / 493.1 MB, free: 5.367 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00436/0.3646, allocations: 2.391 MB / 495.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3544/0.719, allocations: 21.06 MB / 0.5045 GB, free: 29.52 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.719, allocations: 0 / 0.5045 GB, free: 29.52 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.315e-06/0.719, allocations: 0 / 0.5045 GB, free: 29.52 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006232/0.7197, allocations: 0 / 0.5045 GB, free: 29.52 MB / 378.8 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.02919/0.7489, allocations: 12.37 MB / 0.5165 GB, free: 25.95 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7489, allocations: 9.125 kB / 0.5165 GB, free: 25.95 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03497/0.7839, allocations: 6.776 MB / 0.5232 GB, free: 24.81 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/0.7995, allocations: 7.746 MB / 0.5307 GB, free: 22.74 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.8001, allocations: 0.7972 MB / 0.5315 GB, free: 22.72 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003075/0.8032, allocations: 1.055 MB / 0.5325 GB, free: 22.7 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02914/0.8323, allocations: 17.14 MB / 0.5493 GB, free: 15.7 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/0.8326, allocations: 21.11 kB / 0.5493 GB, free: 15.69 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.8338, allocations: 451.6 kB / 0.5497 GB, free: 15.59 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/0.8342, allocations: 0.6203 MB / 0.5503 GB, free: 15.02 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.8578, allocations: 16.22 MB / 0.5662 GB, free: 2.113 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0871/0.9449, allocations: 55.96 MB / 0.6208 GB, free: 9.816 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02777/0.9728, allocations: 31.05 MB / 0.6511 GB, free: 7.094 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007147/0.98, allocations: 4.342 MB / 0.6554 GB, free: 2.758 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/0.9988, allocations: 10.47 MB / 0.6656 GB, free: 8.352 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/0.9989, allocations: 81.8 kB / 0.6657 GB, free: 8.262 MB / 490.8 MB Notification: Performance of pre-optimization done (n=398): time 6.492e-06/0.9989, allocations: 0 / 0.6657 GB, free: 8.262 MB / 490.8 MB Notification: Performance of matching and sorting (n=423): time 0.05338/1.052, allocations: 23.48 MB / 0.6886 GB, free: 496 kB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.052, allocations: 120.7 kB / 0.6887 GB, free: 356 kB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1848/1.237, allocations: 4.637 MB / 0.6933 GB, free: 190.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006691/1.238, allocations: 93.36 kB / 0.6934 GB, free: 190.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/1.24, allocations: 4.659 MB / 0.6979 GB, free: 187.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.241, allocations: 1.441 MB / 0.6993 GB, free: 186.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.241, allocations: 119.7 kB / 0.6994 GB, free: 186.6 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.241, allocations: 0.5408 MB / 0.7 GB, free: 186.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/1.245, allocations: 2.893 MB / 0.7028 GB, free: 185.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/1.249, allocations: 4.937 MB / 0.7076 GB, free: 181.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/1.254, allocations: 3.935 MB / 0.7114 GB, free: 179.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.432e-05/1.254, allocations: 19.38 kB / 0.7115 GB, free: 179.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01317/1.267, allocations: 9.692 MB / 0.7209 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.267, allocations: 37.88 kB / 0.721 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.089e-05/1.267, allocations: 67.81 kB / 0.721 GB, free: 175.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/1.271, allocations: 1.669 MB / 0.7227 GB, free: 175.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/1.275, allocations: 1.327 MB / 0.724 GB, free: 175.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/1.291, allocations: 16.46 MB / 0.74 GB, free: 160.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/1.295, allocations: 330.2 kB / 0.7403 GB, free: 160.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004323/1.296, allocations: 279.9 kB / 0.7406 GB, free: 160.3 MB / 0.4949 GB 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.004946/1.301, allocations: 3.882 MB / 0.7444 GB, free: 156.9 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/1.302, allocations: 0.4901 MB / 0.7449 GB, free: 156.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.313, allocations: 7.793 MB / 0.7525 GB, free: 149.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.313, allocations: 51.89 kB / 0.7525 GB, free: 149.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.313, allocations: 16 kB / 0.7525 GB, free: 149.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/1.313, allocations: 23.91 kB / 0.7526 GB, free: 149.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.334, allocations: 17.45 MB / 0.7696 GB, free: 131.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.334, allocations: 8.781 kB / 0.7696 GB, free: 131.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.336, allocations: 0.7294 MB / 0.7703 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/1.34, allocations: 1.543 MB / 0.7718 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.34, allocations: 104 kB / 0.7719 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/1.357, allocations: 19.5 MB / 0.791 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/1.357, allocations: 13.59 kB / 0.791 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.371, allocations: 11.43 MB / 0.8021 GB, free: 97.17 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/1.373, allocations: 1.162 MB / 0.8033 GB, free: 95.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.374, allocations: 92 kB / 0.8034 GB, free: 95.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.377, allocations: 239.8 kB / 0.8036 GB, free: 95.66 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/1.378, allocations: 327.4 kB / 0.8039 GB, free: 95.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.378, allocations: 132 kB / 0.804 GB, free: 95.21 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003794/1.382, allocations: 3.13 MB / 0.8071 GB, free: 92.08 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.11e-07/1.382, allocations: 0 / 0.8071 GB, free: 92.08 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005567/1.387, allocations: 1.858 MB / 0.8089 GB, free: 90.22 MB / 0.4949 GB 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.0005241/1.388, allocations: 282.5 kB / 0.8092 GB, free: 89.95 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.398, allocations: 8.06 MB / 0.8171 GB, free: 81.84 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.398, allocations: 4.938 kB / 0.8171 GB, free: 81.83 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005805/1.404, allocations: 4.644 MB / 0.8216 GB, free: 77.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006045/1.41, allocations: 1.249 MB / 0.8228 GB, free: 75.87 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/1.443, allocations: 22.7 MB / 0.845 GB, free: 53.05 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007745/1.451, allocations: 6.559 MB / 0.8514 GB, free: 46.45 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.453, allocations: 427.3 kB / 0.8518 GB, free: 46.04 MB / 0.4949 GB Notification: Performance of SimCode: time 1.092e-06/1.453, allocations: 0 / 0.8518 GB, free: 46.04 MB / 0.4949 GB Notification: Performance of Templates: time 1.01/2.462, allocations: 459.3 MB / 1.3 GB, free: 135.4 MB / 0.4949 GB 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/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","../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