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.0014/0.001401, allocations: 105.5 kB / 17.59 MB, free: 5.438 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.001514/0.001514, allocations: 187.3 kB / 18.51 MB, free: 4.52 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.459/1.459, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 46.8 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 49.44 MB / 350.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2602/0.3781, allocations: 32.84 MB / 383.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.4014, allocations: 8.981 MB / 392.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01031/0.4117, allocations: 242.5 kB / 392.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0196/0.4314, allocations: 7.949 MB / 400.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.4483, allocations: 3.654 MB / 404.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009143/0.4574, allocations: 2.102 MB / 406.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0233/0.4808, allocations: 12.9 MB / 419.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04258/0.5234, allocations: 22.61 MB / 442 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/0.5371, allocations: 6.538 MB / 448.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/0.5521, allocations: 7.237 MB / 455.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006462/0.5586, allocations: 1.879 MB / 457.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00936/0.5679, allocations: 2.257 MB / 459.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007439/0.5754, allocations: 3.745 MB / 463.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01697/0.5924, allocations: 7.105 MB / 470.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.6296, allocations: 24.87 MB / 495.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.6297, allocations: 0 / 495.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6297, allocations: 0 / 495.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001201/0.6309, allocations: 0 / 495.7 MB, free: 4.887 MB / 398.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.05322/0.6841, allocations: 14.63 MB / 0.4983 GB, free: 6.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6842, allocations: 8.031 kB / 0.4983 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/0.7244, allocations: 6.749 MB / 0.5049 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/0.747, allocations: 7.873 MB / 0.5126 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009967/0.7481, allocations: 0.8024 MB / 0.5134 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005551/0.7536, allocations: 1.051 MB / 0.5144 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4595/1.213, allocations: 17.22 MB / 0.5312 GB, free: 111.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006114/1.214, allocations: 19.08 kB / 0.5313 GB, free: 111.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003917/1.218, allocations: 440.7 kB / 0.5317 GB, free: 111.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009166/1.219, allocations: 0.6209 MB / 0.5323 GB, free: 111 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03726/1.256, allocations: 16.3 MB / 0.5482 GB, free: 104.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09012/1.346, allocations: 55.81 MB / 0.6027 GB, free: 54.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02461/1.371, allocations: 31.09 MB / 0.6331 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00694/1.378, allocations: 4.335 MB / 0.6373 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/1.397, allocations: 10.45 MB / 0.6475 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/1.397, allocations: 81.81 kB / 0.6476 GB, free: 4.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 6.742e-06/1.397, allocations: 0 / 0.6476 GB, free: 4.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.05354/1.451, allocations: 21.56 MB / 0.6686 GB, free: 14.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.451, allocations: 120.7 kB / 0.6688 GB, free: 14.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009113/1.46, allocations: 4.677 MB / 0.6733 GB, free: 9.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.461, allocations: 97.7 kB / 0.6734 GB, free: 9.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004306/1.465, allocations: 4.656 MB / 0.678 GB, free: 4.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002672/1.468, allocations: 1.445 MB / 0.6794 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/1.471, allocations: 1.132 MB / 0.6805 GB, free: 2.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/1.471, allocations: 301.1 kB / 0.6808 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/1.476, allocations: 2.912 MB / 0.6836 GB, free: 15.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008205/1.484, allocations: 4.945 MB / 0.6884 GB, free: 9.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2874/1.771, allocations: 8.337 MB / 0.6966 GB, free: 145.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-05/1.772, allocations: 19.53 kB / 0.6966 GB, free: 145.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02351/1.795, allocations: 9.733 MB / 0.7061 GB, free: 143.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-05/1.795, allocations: 32.91 kB / 0.7061 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.795, allocations: 66.97 kB / 0.7062 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/1.801, allocations: 1.656 MB / 0.7078 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/1.807, allocations: 1.32 MB / 0.7091 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/1.828, allocations: 17.77 MB / 0.7265 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/1.834, allocations: 332.1 kB / 0.7268 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.835, allocations: 282.8 kB / 0.727 GB, free: 131.7 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.007064/1.842, allocations: 3.887 MB / 0.7308 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.843, allocations: 0.4944 MB / 0.7313 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.856, allocations: 7.787 MB / 0.7389 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.856, allocations: 46.62 kB / 0.739 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.18e-05/1.856, allocations: 15.59 kB / 0.739 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/1.856, allocations: 20.62 kB / 0.739 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.887, allocations: 17.46 MB / 0.7561 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.887, allocations: 4.406 kB / 0.7561 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/1.89, allocations: 0.7328 MB / 0.7568 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/1.894, allocations: 1.555 MB / 0.7583 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008814/1.895, allocations: 104.8 kB / 0.7584 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/1.915, allocations: 21.23 MB / 0.7791 GB, free: 95.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.915, allocations: 8.062 kB / 0.7791 GB, free: 95.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/1.932, allocations: 11.44 MB / 0.7903 GB, free: 83.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003306/1.935, allocations: 1.143 MB / 0.7914 GB, free: 82.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.936, allocations: 99.92 kB / 0.7915 GB, free: 82.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.94, allocations: 227.9 kB / 0.7917 GB, free: 82.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009372/1.941, allocations: 335 kB / 0.792 GB, free: 82.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/1.941, allocations: 128 kB / 0.7922 GB, free: 82.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005152/1.946, allocations: 3.166 MB / 0.7953 GB, free: 78.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.71e-07/1.946, allocations: 4 kB / 0.7953 GB, free: 78.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009018/1.955, allocations: 1.862 MB / 0.7971 GB, free: 77.02 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.001169/1.956, allocations: 288.7 kB / 0.7974 GB, free: 76.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02392/1.98, allocations: 11.59 MB / 0.8087 GB, free: 65.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.98, allocations: 4 kB / 0.8087 GB, free: 65.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008306/1.989, allocations: 4.64 MB / 0.8132 GB, free: 60.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008651/1.998, allocations: 1.303 MB / 0.8145 GB, free: 59.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0396/2.037, allocations: 19.07 MB / 0.8331 GB, free: 39.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00902/2.046, allocations: 6.563 MB / 0.8395 GB, free: 33.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/2.049, allocations: 427.3 kB / 0.8399 GB, free: 32.95 MB / 478.1 MB Notification: Performance of SimCode: time 1.884e-06/2.049, allocations: 0 / 0.8399 GB, free: 32.95 MB / 478.1 MB Notification: Performance of Templates: time 1.18/3.229, allocations: 460.4 MB / 1.29 GB, free: 140.9 MB / 0.4982 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","/var/lib/jenkins1/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