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.000809/0.0008121, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.0008562/0.0008562, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.117/1.117, allocations: 223.3 MB / 242.3 MB, free: 92 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002146/0.0002143, allocations: 8 kB / 302.1 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06993/0.07016, allocations: 50.42 MB / 352.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0134/0.08359, allocations: 15.87 MB / 368.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.2245, allocations: 5.554 MB / 373.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.2271, allocations: 104.1 kB / 374 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.2303, allocations: 1.168 MB / 375.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.2349, allocations: 1.629 MB / 376.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.2368, allocations: 0.9406 MB / 377.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.2429, allocations: 6.895 MB / 384.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004114/0.247, allocations: 4.482 MB / 389.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.2503, allocations: 2.073 MB / 391.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.2526, allocations: 2.723 MB / 393.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.253, allocations: 327.7 kB / 394.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.2542, allocations: 0.6193 MB / 394.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007314/0.2549, allocations: 1.302 MB / 396.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.2567, allocations: 2.753 MB / 398.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.2624, allocations: 8.599 MB / 407.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2624, allocations: 0 / 407.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2624, allocations: 0 / 407.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.47e-05/0.2625, allocations: 4 kB / 407.5 MB, free: 9.012 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.01007/0.2726, allocations: 5.492 MB / 413 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2726, allocations: 12.03 kB / 413 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.2768, allocations: 1.056 MB / 414.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/0.2815, allocations: 3.5 MB / 417.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.2818, allocations: 369 kB / 418 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006411/0.2824, allocations: 490.4 kB / 418.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.2917, allocations: 6.891 MB / 425.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.849e-05/0.2918, allocations: 4 kB / 425.3 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.2922, allocations: 198.1 kB / 425.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.2924, allocations: 245.8 kB / 425.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008202/0.3006, allocations: 5.961 MB / 431.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.3249, allocations: 21.03 MB / 452.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007926/0.3328, allocations: 9.959 MB / 462.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.3361, allocations: 2.503 MB / 465.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008355/0.3444, allocations: 6.52 MB / 471.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3445, allocations: 56.56 kB / 471.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 2.895e-06/0.3445, allocations: 3.938 kB / 471.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.01486/0.3594, allocations: 9.769 MB / 481.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3594, allocations: 77.41 kB / 481.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.3632, allocations: 2.988 MB / 484.6 MB, free: 10.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3633, allocations: 65.7 kB / 484.7 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.3646, allocations: 2.163 MB / 486.9 MB, free: 7.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/0.3651, allocations: 0.7555 MB / 487.6 MB, free: 7.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.3653, allocations: 218.9 kB / 487.8 MB, free: 6.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.3654, allocations: 305.1 kB / 488.1 MB, free: 6.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.3673, allocations: 1.305 MB / 489.4 MB, free: 5.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.3695, allocations: 1.924 MB / 491.4 MB, free: 3.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/0.3736, allocations: 3.363 MB / 494.7 MB, free: 15.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.3736, allocations: 8 kB / 494.7 MB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005989/0.3796, allocations: 4.268 MB / 499 MB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3796, allocations: 19.97 kB / 499 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.3796, allocations: 20 kB / 499 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.382, allocations: 0.7794 MB / 499.8 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.384, allocations: 0.5655 MB / 0.4887 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009014/0.393, allocations: 10.05 MB / 0.4985 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3944, allocations: 115.9 kB / 0.4986 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.3946, allocations: 103.9 kB / 0.4987 GB, free: 15.05 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.002121/0.3968, allocations: 1.613 MB / 0.5003 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.3972, allocations: 312.2 kB / 0.5005 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/0.403, allocations: 3.933 MB / 0.5044 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.403, allocations: 24 kB / 0.5044 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.4031, allocations: 11.94 kB / 0.5044 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.4031, allocations: 7.969 kB / 0.5044 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.4162, allocations: 8.595 MB / 0.5128 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.4163, allocations: 0 / 0.5128 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.4177, allocations: 347.8 kB / 0.5132 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/0.4206, allocations: 0.9407 MB / 0.5141 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.4208, allocations: 63.97 kB / 0.5141 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1565/0.5773, allocations: 14.43 MB / 0.5282 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5773, allocations: 4.797 kB / 0.5282 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00923/0.5865, allocations: 5.721 MB / 0.5338 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.5879, allocations: 0.6897 MB / 0.5345 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006937/0.5887, allocations: 57.28 kB / 0.5345 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.5903, allocations: 120.2 kB / 0.5347 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/0.5908, allocations: 192.9 kB / 0.5348 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.591, allocations: 61.06 kB / 0.5349 GB, free: 140.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003673/0.5947, allocations: 2.058 MB / 0.5369 GB, free: 139.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5947, allocations: 0 / 0.5369 GB, free: 139.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003077/0.5978, allocations: 0.9393 MB / 0.5378 GB, free: 139.8 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.000583/0.5983, allocations: 272.7 kB / 0.5381 GB, free: 139.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005137/0.6035, allocations: 3.92 MB / 0.5419 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6035, allocations: 1.469 kB / 0.5419 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.6066, allocations: 2.646 MB / 0.5445 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/0.6107, allocations: 0.857 MB / 0.5453 GB, free: 136.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6221, allocations: 11.68 MB / 0.5568 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.6241, allocations: 3.333 MB / 0.56 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.6248, allocations: 212.5 kB / 0.5602 GB, free: 128.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6248, allocations: 0 / 0.5602 GB, free: 128.4 MB / 446.1 MB Notification: Performance of Templates: time 0.2671/0.8918, allocations: 203 MB / 0.7585 GB, free: 106.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