Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 114.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2535, allocations: 50.56 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01324/0.2668, allocations: 12.91 MB / 422.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007896/0.2748, allocations: 4.261 MB / 427.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.277, allocations: 79.69 kB / 427.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.2796, allocations: 0.9755 MB / 428.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.2832, allocations: 1.176 MB / 429.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2847, allocations: 0.5227 MB / 429.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005601/0.2903, allocations: 4.661 MB / 434.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005357/0.2957, allocations: 3.686 MB / 438.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.2998, allocations: 2.135 MB / 440.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.3039, allocations: 2.569 MB / 443 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.3053, allocations: 0.5508 MB / 443.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.3074, allocations: 0.6521 MB / 444.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.3094, allocations: 1.519 MB / 445.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.3129, allocations: 2.485 MB / 448.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007347/0.3203, allocations: 7.438 MB / 455.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3203, allocations: 3.938 kB / 455.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3203, allocations: 0 / 455.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.3205, allocations: 4 kB / 455.6 MB, free: 3.762 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.01145/0.332, allocations: 4.714 MB / 460.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.3321, allocations: 11.97 kB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.334, allocations: 0.5268 MB / 460.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.3389, allocations: 2.591 MB / 463.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.3391, allocations: 263 kB / 463.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007174/0.3398, allocations: 355.9 kB / 464.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009221/0.3491, allocations: 5.032 MB / 469.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-05/0.3492, allocations: 7.906 kB / 469.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.3495, allocations: 144 kB / 469.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.3497, allocations: 183.1 kB / 469.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/0.3573, allocations: 4.294 MB / 473.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/0.3835, allocations: 14.72 MB / 488.4 MB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.3884, allocations: 4.194 MB / 492.6 MB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/0.3919, allocations: 1.995 MB / 494.6 MB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.3922, allocations: 135.1 kB / 494.8 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.3923, allocations: 56.56 kB / 494.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.797e-06/0.3923, allocations: 0 / 494.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02009/0.4124, allocations: 9.959 MB / 0.4929 GB, free: 1.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4124, allocations: 73.41 kB / 0.493 GB, free: 1.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.4167, allocations: 2.51 MB / 0.4955 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.4171, allocations: 61.7 kB / 0.4955 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.4182, allocations: 1.627 MB / 0.4971 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/0.4189, allocations: 0.7316 MB / 0.4978 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007361/0.4197, allocations: 416.3 kB / 0.4982 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.4198, allocations: 301.1 kB / 0.4985 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.4218, allocations: 1.301 MB / 0.4998 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.4241, allocations: 1.786 MB / 0.5015 GB, free: 8.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004675/0.4288, allocations: 3.208 MB / 0.5046 GB, free: 5.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.4289, allocations: 4 kB / 0.5047 GB, free: 5.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007063/0.4359, allocations: 4.075 MB / 0.5086 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.436, allocations: 12 kB / 0.5086 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.436, allocations: 12 kB / 0.5087 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.4389, allocations: 0.8835 MB / 0.5095 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.4412, allocations: 0.5227 MB / 0.51 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.4518, allocations: 9.478 MB / 0.5193 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.4542, allocations: 123.8 kB / 0.5194 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/0.4546, allocations: 84 kB / 0.5195 GB, free: 5.508 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.002578/0.4572, allocations: 1.226 MB / 0.5207 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008541/0.4581, allocations: 280.6 kB / 0.5209 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/0.465, allocations: 3.711 MB / 0.5246 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.465, allocations: 20 kB / 0.5246 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/0.465, allocations: 8 kB / 0.5246 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.4651, allocations: 11.95 kB / 0.5246 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.4798, allocations: 8.033 MB / 0.5325 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4798, allocations: 4 kB / 0.5325 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.4815, allocations: 383.8 kB / 0.5328 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.4846, allocations: 0.9288 MB / 0.5337 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/0.4849, allocations: 59.97 kB / 0.5338 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2323/0.7172, allocations: 11.07 MB / 0.5446 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.7173, allocations: 7.172 kB / 0.5446 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/0.7253, allocations: 5.506 MB / 0.55 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.7268, allocations: 0.6331 MB / 0.5506 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007138/0.7275, allocations: 50.56 kB / 0.5507 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.7294, allocations: 116.9 kB / 0.5508 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/0.7299, allocations: 182.3 kB / 0.5509 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.7301, allocations: 58.81 kB / 0.551 GB, free: 117.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002287/0.7324, allocations: 1.745 MB / 0.5527 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7324, allocations: 0 / 0.5527 GB, free: 117.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002343/0.7347, allocations: 0.8006 MB / 0.5535 GB, free: 117.1 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.0005795/0.7353, allocations: 231.2 kB / 0.5537 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.7404, allocations: 3.898 MB / 0.5575 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7405, allocations: 3.5 kB / 0.5575 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.7438, allocations: 2.479 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.004099/0.748, allocations: 0.8003 MB / 0.5607 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.7605, allocations: 7.742 MB / 0.5683 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.763, allocations: 2.727 MB / 0.5709 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.764, allocations: 195.4 kB / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7641, allocations: 0 / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1209/0.8849, allocations: 142.5 MB / 0.7103 GB, free: 8.012 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches