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.000795/0.0007951, allocations: 91.61 kB / 16.65 MB, free: 6.586 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.0008917/0.0008918, allocations: 185.6 kB / 17.57 MB, free: 6.203 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.299/1.299, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 8.531 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 50.41 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01639/0.1216, allocations: 15.87 MB / 367.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2072/0.3289, allocations: 5.558 MB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.3331, allocations: 100.5 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.337, allocations: 1.166 MB / 374.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.3435, allocations: 1.629 MB / 376.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.3461, allocations: 0.9519 MB / 377.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009991/0.3561, allocations: 6.892 MB / 384 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006456/0.3625, allocations: 4.474 MB / 388.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005383/0.368, allocations: 2.072 MB / 390.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/0.3738, allocations: 2.726 MB / 393.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.3751, allocations: 331.5 kB / 393.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.378, allocations: 0.6109 MB / 394.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3791, allocations: 1.308 MB / 395.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003904/0.383, allocations: 2.749 MB / 398.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.3937, allocations: 9.842 MB / 408.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3938, allocations: 0 / 408.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3938, allocations: 4 kB / 408.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000299/0.3941, allocations: 0 / 408.1 MB, free: 7.914 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.01452/0.4086, allocations: 5.489 MB / 413.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4087, allocations: 8.031 kB / 413.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/0.4144, allocations: 1.06 MB / 414.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007165/0.4216, allocations: 3.499 MB / 418.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.422, allocations: 368.4 kB / 418.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009402/0.4229, allocations: 492 kB / 419 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.4359, allocations: 6.89 MB / 425.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.4361, allocations: 7.938 kB / 425.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/0.4365, allocations: 198.4 kB / 426.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/0.4368, allocations: 241.8 kB / 426.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.4505, allocations: 5.965 MB / 432.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/0.4917, allocations: 21.03 MB / 453.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009971/0.5017, allocations: 9.966 MB / 463.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/0.5064, allocations: 2.499 MB / 465.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.5198, allocations: 6.513 MB / 472.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.592e-05/0.5199, allocations: 64.56 kB / 472.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 5.249e-06/0.52, allocations: 4 kB / 472.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.02074/0.5407, allocations: 9.76 MB / 482.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.5408, allocations: 77.41 kB / 482.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006207/0.547, allocations: 2.984 MB / 485.2 MB, free: 9.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004274/0.5475, allocations: 69.7 kB / 485.3 MB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.5494, allocations: 2.159 MB / 487.4 MB, free: 6.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.5504, allocations: 0.7656 MB / 488.2 MB, free: 6.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.551, allocations: 214.9 kB / 488.4 MB, free: 5.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5511, allocations: 305.1 kB / 488.7 MB, free: 5.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.5539, allocations: 1.309 MB / 490 MB, free: 4.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.557, allocations: 1.932 MB / 492 MB, free: 2.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.5626, allocations: 3.356 MB / 495.3 MB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.5626, allocations: 4 kB / 495.3 MB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008607/0.5713, allocations: 4.276 MB / 499.6 MB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.5713, allocations: 15.94 kB / 499.6 MB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/0.5714, allocations: 20 kB / 499.6 MB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.5742, allocations: 0.7786 MB / 0.4887 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.5767, allocations: 0.5578 MB / 0.4892 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.588, allocations: 10.05 MB / 0.499 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.5904, allocations: 111.9 kB / 0.4991 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/0.5909, allocations: 103.9 kB / 0.4992 GB, free: 13.95 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.003614/0.5945, allocations: 1.61 MB / 0.5008 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/0.5955, allocations: 316.2 kB / 0.5011 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007752/0.6032, allocations: 3.937 MB / 0.505 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.6033, allocations: 20.19 kB / 0.505 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/0.6033, allocations: 15.94 kB / 0.505 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.6033, allocations: 19.89 kB / 0.505 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.619, allocations: 8.579 MB / 0.5134 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-06/0.619, allocations: 0 / 0.5134 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.6207, allocations: 351.8 kB / 0.5137 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/0.6241, allocations: 0.9343 MB / 0.5146 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.6243, allocations: 63.97 kB / 0.5147 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1907/0.815, allocations: 14.42 MB / 0.5288 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.815, allocations: 5.031 kB / 0.5288 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009457/0.8245, allocations: 5.724 MB / 0.5344 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.8261, allocations: 0.6938 MB / 0.5351 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000584/0.8267, allocations: 55.16 kB / 0.5351 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.8283, allocations: 120.6 kB / 0.5352 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004935/0.8288, allocations: 189 kB / 0.5354 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.829, allocations: 63.39 kB / 0.5355 GB, free: 140.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003267/0.8322, allocations: 2.06 MB / 0.5375 GB, free: 139.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8323, allocations: 0 / 0.5375 GB, free: 139.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00342/0.8357, allocations: 0.9389 MB / 0.5384 GB, free: 139.6 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.000722/0.8364, allocations: 267.8 kB / 0.5386 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006526/0.843, allocations: 3.916 MB / 0.5425 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.843, allocations: 1.375 kB / 0.5425 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.8481, allocations: 2.65 MB / 0.5451 GB, free: 136.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00749/0.8556, allocations: 0.8654 MB / 0.5459 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/0.8794, allocations: 11.74 MB / 0.5574 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005139/0.8846, allocations: 3.425 MB / 0.5607 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004116/0.8887, allocations: 0.7533 MB / 0.5615 GB, free: 128 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/0.8895, allocations: 194.6 kB / 0.5616 GB, free: 128 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8895, allocations: 4 kB / 0.5616 GB, free: 128 MB / 446.1 MB Notification: Performance of Templates: time 0.07103/0.9606, allocations: 48.37 MB / 0.6089 GB, free: 83.07 MB / 446.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/jenkins/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/jenkins/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