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.001551/0.001551, allocations: 110.3 kB / 17.16 MB, free: 6.324 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.001894/0.001894, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.112/2.112, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 51.11 kB / 300.6 MB, free: 6.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 49.46 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02112/0.1811, allocations: 16.61 MB / 366.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3028/0.484, allocations: 5.613 MB / 372.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005308/0.4894, allocations: 106.8 kB / 372.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.4953, allocations: 1.176 MB / 373.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00885/0.5043, allocations: 1.637 MB / 375.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.5085, allocations: 0.9499 MB / 376.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01415/0.5227, allocations: 6.901 MB / 383.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009236/0.532, allocations: 4.509 MB / 387.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007738/0.5398, allocations: 2.37 MB / 390 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009098/0.5489, allocations: 3.113 MB / 393.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004101/0.5531, allocations: 468.1 kB / 393.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008416/0.5616, allocations: 0.7487 MB / 394.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005697/0.5673, allocations: 1.513 MB / 395.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0124/0.5798, allocations: 2.973 MB / 398.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.5975, allocations: 8.843 MB / 407.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.5976, allocations: 0 / 407.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5976, allocations: 0 / 407.6 MB, free: 8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004373/0.598, allocations: 0 / 407.6 MB, free: 8 MB / 318.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.03222/0.6303, allocations: 6.511 MB / 414.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6303, allocations: 8.031 kB / 414.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00833/0.6387, allocations: 1.062 MB / 415.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.6532, allocations: 3.49 MB / 418.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007229/0.654, allocations: 370.8 kB / 419 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003217/0.6572, allocations: 490.8 kB / 419.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/0.6867, allocations: 6.869 MB / 426.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.687, allocations: 11.89 kB / 426.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001857/0.6888, allocations: 204.8 kB / 426.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004045/0.6893, allocations: 241.8 kB / 426.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.7118, allocations: 5.935 MB / 432.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06526/0.7771, allocations: 20.91 MB / 453.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/0.7941, allocations: 9.961 MB / 463.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/0.8002, allocations: 2.482 MB / 466.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02388/0.8241, allocations: 6.507 MB / 472.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.8244, allocations: 60.56 kB / 472.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 9.227e-06/0.8244, allocations: 0 / 472.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.03666/0.8611, allocations: 9.668 MB / 482.4 MB, free: 11.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.8612, allocations: 77.41 kB / 482.4 MB, free: 11.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/0.8727, allocations: 2.984 MB / 485.4 MB, free: 8.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007317/0.8735, allocations: 61.7 kB / 485.5 MB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002927/0.8765, allocations: 2.167 MB / 487.6 MB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001991/0.8785, allocations: 0.758 MB / 488.4 MB, free: 5.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/0.8811, allocations: 469 kB / 488.9 MB, free: 4.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.8813, allocations: 301.1 kB / 489.2 MB, free: 4.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004718/0.8861, allocations: 1.293 MB / 490.4 MB, free: 3.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0054/0.8915, allocations: 1.92 MB / 492.4 MB, free: 1.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.9017, allocations: 3.336 MB / 495.7 MB, free: 13.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/0.9018, allocations: 4 kB / 495.7 MB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01314/0.915, allocations: 4.244 MB / 499.9 MB, free: 9.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-05/0.9151, allocations: 16.44 kB / 500 MB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/0.9152, allocations: 20 kB / 500 MB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.9183, allocations: 0.774 MB / 0.489 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.9212, allocations: 0.5616 MB / 0.4896 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.9344, allocations: 10.03 MB / 0.4994 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.9375, allocations: 103.9 kB / 0.4995 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/0.9382, allocations: 103.9 kB / 0.4996 GB, free: 13.18 MB / 430.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.004579/0.9428, allocations: 1.61 MB / 0.5011 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/0.9443, allocations: 316.3 kB / 0.5014 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008813/0.9531, allocations: 3.906 MB / 0.5053 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.9532, allocations: 23.94 kB / 0.5053 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/0.9532, allocations: 19.94 kB / 0.5053 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/0.9533, allocations: 11.95 kB / 0.5053 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/0.9807, allocations: 8.556 MB / 0.5137 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.9808, allocations: 4.25 kB / 0.5137 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003264/0.9841, allocations: 351.5 kB / 0.514 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006367/0.9905, allocations: 0.9305 MB / 0.5149 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005692/0.9911, allocations: 59.97 kB / 0.515 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.385/1.376, allocations: 14.41 MB / 0.529 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.376, allocations: 6.141 kB / 0.529 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01962/1.396, allocations: 5.693 MB / 0.5346 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/1.4, allocations: 0.6865 MB / 0.5353 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/1.402, allocations: 50.59 kB / 0.5353 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003805/1.405, allocations: 113.8 kB / 0.5354 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.407, allocations: 187.9 kB / 0.5356 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005185/1.407, allocations: 60.03 kB / 0.5357 GB, free: 140 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008021/1.415, allocations: 2.06 MB / 0.5377 GB, free: 139.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.51e-07/1.415, allocations: 3.438 kB / 0.5377 GB, free: 139.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00828/1.424, allocations: 0.9397 MB / 0.5386 GB, free: 139.2 MB / 446.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.001566/1.425, allocations: 269.1 kB / 0.5389 GB, free: 139.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01192/1.437, allocations: 3.885 MB / 0.5426 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/1.437, allocations: 4.969 kB / 0.5427 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007051/1.444, allocations: 2.632 MB / 0.5452 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008401/1.453, allocations: 0.8633 MB / 0.5461 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/1.485, allocations: 11.51 MB / 0.5573 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005961/1.491, allocations: 3.333 MB / 0.5606 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.493, allocations: 211.1 kB / 0.5608 GB, free: 127.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.816e-06/1.493, allocations: 0 / 0.5608 GB, free: 127.8 MB / 446.1 MB Notification: Performance of Templates: time 0.6112/2.104, allocations: 203.8 MB / 0.7597 GB, free: 104.6 MB / 462.1 MB 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