Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2681, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01431/0.2824, allocations: 12.9 MB / 422.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.2909, allocations: 4.253 MB / 427.1 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.2934, allocations: 83.62 kB / 427.2 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.2964, allocations: 0.9755 MB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.3002, allocations: 1.173 MB / 429.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3016, allocations: 0.5228 MB / 429.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005448/0.3071, allocations: 4.657 MB / 434.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.3114, allocations: 3.697 MB / 438.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.3151, allocations: 2.132 MB / 440.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003867/0.319, allocations: 2.565 MB / 442.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.3201, allocations: 0.5508 MB / 443.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3218, allocations: 0.6482 MB / 444.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3232, allocations: 1.523 MB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003134/0.3264, allocations: 2.481 MB / 448.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008291/0.3347, allocations: 7.442 MB / 455.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3347, allocations: 0 / 455.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.3348, allocations: 0 / 455.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002/0.335, allocations: 0 / 455.5 MB, free: 3.746 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01107/0.346, allocations: 4.714 MB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3461, allocations: 8.031 kB / 460.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.3479, allocations: 0.5268 MB / 460.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.3536, allocations: 2.602 MB / 463.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3539, allocations: 259 kB / 463.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008575/0.3548, allocations: 355.9 kB / 464 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009542/0.3643, allocations: 5.032 MB / 469 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.464e-05/0.3644, allocations: 3.906 kB / 469 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.3648, allocations: 148 kB / 469.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.365, allocations: 187 kB / 469.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007283/0.3723, allocations: 4.298 MB / 473.7 MB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.3963, allocations: 14.71 MB / 488.4 MB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.4011, allocations: 4.198 MB / 492.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.4044, allocations: 1.991 MB / 494.6 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.4047, allocations: 135.1 kB / 494.7 MB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4048, allocations: 56.56 kB / 494.7 MB, free: 11.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.978e-06/0.4048, allocations: 0 / 494.7 MB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01965/0.4245, allocations: 9.96 MB / 0.4929 GB, free: 1.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4245, allocations: 77.41 kB / 0.493 GB, free: 1.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003655/0.4282, allocations: 2.51 MB / 0.4954 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.4284, allocations: 65.7 kB / 0.4955 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.4296, allocations: 1.63 MB / 0.4971 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.4302, allocations: 0.7238 MB / 0.4978 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.4309, allocations: 420.3 kB / 0.4982 GB, free: 12.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.431, allocations: 305.1 kB / 0.4985 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.433, allocations: 1.297 MB / 0.4997 GB, free: 10.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.4352, allocations: 1.775 MB / 0.5015 GB, free: 8.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.4397, allocations: 3.215 MB / 0.5046 GB, free: 5.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.4398, allocations: 4 kB / 0.5046 GB, free: 5.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007091/0.4469, allocations: 4.075 MB / 0.5086 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4469, allocations: 12 kB / 0.5086 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.447, allocations: 12 kB / 0.5086 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/0.4498, allocations: 0.8794 MB / 0.5095 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.4522, allocations: 0.5265 MB / 0.51 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.4626, allocations: 9.474 MB / 0.5192 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.4648, allocations: 115.8 kB / 0.5193 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.4651, allocations: 91.98 kB / 0.5194 GB, free: 5.484 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002133/0.4673, allocations: 1.222 MB / 0.5206 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/0.4679, allocations: 276.7 kB / 0.5209 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.4741, allocations: 3.719 MB / 0.5245 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.4741, allocations: 20 kB / 0.5245 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.4742, allocations: 8.094 kB / 0.5245 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.4742, allocations: 15.94 kB / 0.5246 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4878, allocations: 8.021 MB / 0.5324 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4878, allocations: 4 kB / 0.5324 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.4895, allocations: 383.8 kB / 0.5328 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.4926, allocations: 0.9326 MB / 0.5337 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.4928, allocations: 51.97 kB / 0.5337 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2138/0.7066, allocations: 11.09 MB / 0.5445 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7067, allocations: 2.75 kB / 0.5445 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007225/0.7139, allocations: 5.515 MB / 0.5499 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.7155, allocations: 0.63 MB / 0.5506 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003936/0.7159, allocations: 51.44 kB / 0.5506 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7173, allocations: 118 kB / 0.5507 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/0.7177, allocations: 182.1 kB / 0.5509 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7178, allocations: 59.67 kB / 0.5509 GB, free: 117.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.7199, allocations: 1.738 MB / 0.5526 GB, free: 117.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7199, allocations: 0 / 0.5526 GB, free: 117.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002188/0.7221, allocations: 0.8035 MB / 0.5534 GB, free: 117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005442/0.7227, allocations: 239 kB / 0.5537 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.7275, allocations: 3.898 MB / 0.5575 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.7275, allocations: 7.609 kB / 0.5575 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003021/0.7305, allocations: 2.474 MB / 0.5599 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.7339, allocations: 0.7845 MB / 0.5606 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.7446, allocations: 7.755 MB / 0.5682 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.7463, allocations: 2.723 MB / 0.5709 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008729/0.7472, allocations: 195.4 kB / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7472, allocations: 0 / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of Templates: time 0.116/0.8633, allocations: 142.5 MB / 0.7102 GB, free: 8.004 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches