Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 94.28 kB / 16.3 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.001264/0.001264, allocations: 188.5 kB / 17.2 MB, free: 5.59 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.4/1.4, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 11.94 kB / 300.7 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 50.42 MB / 351.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0111/0.118, allocations: 10.41 MB / 361.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007688/0.1258, allocations: 4.085 MB / 365.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.1275, allocations: 67.69 kB / 365.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.1298, allocations: 0.8046 MB / 366.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.1334, allocations: 0.9892 MB / 367.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1347, allocations: 319.5 kB / 367.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006102/0.1408, allocations: 2.932 MB / 370.8 MB, free: 124 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1784/0.3193, allocations: 2.594 MB / 373.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.3219, allocations: 1.436 MB / 374.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.3254, allocations: 1.801 MB / 376.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009007/0.3263, allocations: 237.7 kB / 376.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3276, allocations: 306.9 kB / 377.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.3288, allocations: 1.075 MB / 378.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.3303, allocations: 0.8415 MB / 379 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.3374, allocations: 5.944 MB / 385 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3375, allocations: 0 / 385 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3375, allocations: 1.062 kB / 385 MB, free: 7.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002607/0.3378, allocations: 0 / 385 MB, free: 7.66 MB / 302.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.01098/0.3488, allocations: 3.991 MB / 389 MB, free: 5.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3488, allocations: 8.938 kB / 389 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.3515, allocations: 0.4953 MB / 389.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00577/0.3573, allocations: 2.423 MB / 391.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.3576, allocations: 270 kB / 392.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.3588, allocations: 350.1 kB / 392.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3702, allocations: 4.982 MB / 397.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.3704, allocations: 12.88 kB / 397.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/0.3708, allocations: 144.4 kB / 397.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.371, allocations: 188.5 kB / 397.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008759/0.3798, allocations: 4.292 MB / 402.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/0.4249, allocations: 14.94 MB / 417 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/0.4329, allocations: 4.193 MB / 421.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.4334, allocations: 127.1 kB / 421.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.347e-05/0.4335, allocations: 69.02 kB / 421.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 7.023e-06/0.4335, allocations: 0 / 421.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.03228/0.4658, allocations: 10.33 MB / 431.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.4659, allocations: 85.34 kB / 431.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006577/0.4725, allocations: 2.44 MB / 434.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006137/0.4731, allocations: 61.7 kB / 434.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.4749, allocations: 1.62 MB / 436 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.4762, allocations: 0.7283 MB / 436.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.4766, allocations: 48 kB / 436.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003035/0.4769, allocations: 400.6 kB / 437.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/0.4804, allocations: 1.316 MB / 438.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/0.4844, allocations: 1.786 MB / 440.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.4885, allocations: 1.574 MB / 441.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.4885, allocations: 4 kB / 441.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01137/0.4999, allocations: 4.103 MB / 445.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5, allocations: 12 kB / 445.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.5, allocations: 16 kB / 445.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/0.5044, allocations: 0.8812 MB / 446.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.508, allocations: 0.5227 MB / 447.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.5252, allocations: 8.936 MB / 456.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.5282, allocations: 119.8 kB / 456.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005858/0.5288, allocations: 103.9 kB / 456.5 MB, free: 8.176 MB / 366.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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00354/0.5324, allocations: 1.209 MB / 457.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.5334, allocations: 272.7 kB / 458 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008078/0.5415, allocations: 3.756 MB / 461.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.5416, allocations: 20 kB / 461.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.529e-05/0.5417, allocations: 12 kB / 461.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.5417, allocations: 11.95 kB / 461.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.5614, allocations: 8.077 MB / 469.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.5615, allocations: 6.625 kB / 469.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.5634, allocations: 391.8 kB / 470.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/0.5669, allocations: 0.9207 MB / 471.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/0.5674, allocations: 59.97 kB / 471.2 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.5803, allocations: 10.43 MB / 481.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5803, allocations: 4 kB / 481.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.5916, allocations: 5.795 MB / 487.5 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002446/0.5941, allocations: 0.6265 MB / 488.1 MB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/0.5953, allocations: 51.98 kB / 488.1 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/0.5977, allocations: 127.9 kB / 488.3 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.5983, allocations: 177.7 kB / 488.4 MB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/0.5986, allocations: 63.98 kB / 488.5 MB, free: 7.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004089/0.6027, allocations: 1.68 MB / 490.2 MB, free: 5.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6027, allocations: 0 / 490.2 MB, free: 5.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004955/0.6076, allocations: 0.7969 MB / 491 MB, free: 4.887 MB / 398.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 26,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009697/0.6086, allocations: 208 kB / 491.2 MB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007947/0.6166, allocations: 3.928 MB / 495.1 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.6167, allocations: 3.938 kB / 495.1 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.6213, allocations: 2.485 MB / 497.6 MB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/0.6262, allocations: 0.7248 MB / 498.3 MB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.6479, allocations: 9.113 MB / 0.4955 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/0.6545, allocations: 2.847 MB / 0.4983 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00418/0.6587, allocations: 0.6866 MB / 0.499 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.6601, allocations: 175.4 kB / 0.4992 GB, free: 0.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.635e-06/0.6601, allocations: 0 / 0.4992 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Templates: time 0.2487/0.9088, allocations: 42.22 MB / 0.5404 GB, free: 150.6 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches