Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001855/0.001855, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.493/1.493, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 48.02 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2515, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01782/0.2694, allocations: 16.82 MB / 418.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.2806, allocations: 5.673 MB / 423.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.2833, allocations: 111.6 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.2867, allocations: 1.341 MB / 425.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.292, allocations: 1.783 MB / 427.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.2944, allocations: 1.031 MB / 428.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007136/0.3015, allocations: 6.295 MB / 434.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006097/0.3076, allocations: 5.379 MB / 439.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.3126, allocations: 2.969 MB / 442.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005231/0.3178, allocations: 3.343 MB / 446.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.3195, allocations: 0.7852 MB / 447 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.322, allocations: 1.058 MB / 448 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.3236, allocations: 1.862 MB / 449.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003822/0.3274, allocations: 3.349 MB / 453.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009805/0.3372, allocations: 10.53 MB / 463.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3373, allocations: 0 / 463.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3373, allocations: 0 / 463.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001756/0.3375, allocations: 0 / 463.8 MB, free: 10.27 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01522/0.3527, allocations: 6.514 MB / 470.3 MB, free: 3.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3527, allocations: 8.031 kB / 470.3 MB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.3576, allocations: 1.056 MB / 471.3 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.3636, allocations: 3.645 MB / 475 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.3639, allocations: 369.6 kB / 475.3 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007813/0.3647, allocations: 479.9 kB / 475.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.376, allocations: 6.877 MB / 482.7 MB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.536e-05/0.3761, allocations: 7.906 kB / 482.7 MB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004582/0.3766, allocations: 207.9 kB / 482.9 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.3768, allocations: 237.8 kB / 483.1 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009869/0.3867, allocations: 5.937 MB / 489.1 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.4195, allocations: 20.66 MB / 0.4978 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.4291, allocations: 9.936 MB / 0.5075 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/0.4333, allocations: 2.477 MB / 0.5099 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.4443, allocations: 6.486 MB / 0.5162 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.4444, allocations: 60.56 kB / 0.5163 GB, free: 7.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.068e-06/0.4444, allocations: 0 / 0.5163 GB, free: 7.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.01831/0.4627, allocations: 9.674 MB / 0.5257 GB, free: 13.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.4628, allocations: 73.41 kB / 0.5258 GB, free: 13.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.4672, allocations: 2.98 MB / 0.5287 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.4676, allocations: 65.7 kB / 0.5288 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.469, allocations: 2.172 MB / 0.5309 GB, free: 8.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/0.4698, allocations: 0.7586 MB / 0.5316 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.4705, allocations: 461.1 kB / 0.5321 GB, free: 7.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.4706, allocations: 305.1 kB / 0.5324 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.4726, allocations: 1.289 MB / 0.5336 GB, free: 5.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.475, allocations: 1.912 MB / 0.5355 GB, free: 3.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.218/0.6929, allocations: 3.349 MB / 0.5388 GB, free: 125.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.693, allocations: 5.125 kB / 0.5388 GB, free: 125.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007401/0.7004, allocations: 4.241 MB / 0.5429 GB, free: 124.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.7005, allocations: 22.67 kB / 0.5429 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.7005, allocations: 15.84 kB / 0.543 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/0.7028, allocations: 0.762 MB / 0.5437 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.7048, allocations: 0.568 MB / 0.5443 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/0.7132, allocations: 10.88 MB / 0.5549 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.7154, allocations: 106.9 kB / 0.555 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.7156, allocations: 101.9 kB / 0.5551 GB, free: 115.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002469/0.7181, allocations: 1.611 MB / 0.5566 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/0.7187, allocations: 322.6 kB / 0.557 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/0.7242, allocations: 3.902 MB / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.7242, allocations: 19.59 kB / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.7242, allocations: 14.3 kB / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.7243, allocations: 11.48 kB / 0.5608 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.7354, allocations: 8.553 MB / 0.5692 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.7354, allocations: 7.938 kB / 0.5692 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.7369, allocations: 347.8 kB / 0.5695 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.7395, allocations: 0.9334 MB / 0.5704 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.7397, allocations: 59.98 kB / 0.5705 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.7512, allocations: 15.71 MB / 0.5858 GB, free: 89.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7512, allocations: 4.031 kB / 0.5858 GB, free: 89.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/0.7585, allocations: 5.692 MB / 0.5914 GB, free: 83.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.7599, allocations: 0.6846 MB / 0.592 GB, free: 83.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/0.7604, allocations: 55.98 kB / 0.5921 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.7618, allocations: 103.9 kB / 0.5922 GB, free: 82.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.7622, allocations: 197.7 kB / 0.5924 GB, free: 82.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.7623, allocations: 59.81 kB / 0.5924 GB, free: 82.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002412/0.7647, allocations: 2.066 MB / 0.5945 GB, free: 80.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7648, allocations: 0 / 0.5945 GB, free: 80.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00265/0.7674, allocations: 0.9362 MB / 0.5954 GB, free: 79.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005705/0.768, allocations: 263.9 kB / 0.5956 GB, free: 79.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.7728, allocations: 3.904 MB / 0.5994 GB, free: 75.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7729, allocations: 3.938 kB / 0.5994 GB, free: 75.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.776, allocations: 2.638 MB / 0.602 GB, free: 72.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.7796, allocations: 0.9066 MB / 0.6029 GB, free: 71.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.7923, allocations: 9.362 MB / 0.612 GB, free: 62.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.7946, allocations: 3.324 MB / 0.6153 GB, free: 59.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/0.7955, allocations: 215.4 kB / 0.6155 GB, free: 58.86 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7955, allocations: 0 / 0.6155 GB, free: 58.86 MB / 462.1 MB Notification: Performance of Templates: time 0.3837/1.179, allocations: 204.2 MB / 0.8149 GB, free: 113.8 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches