Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 96.39 kB / 16.93 MB, free: 5.984 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.001306/0.001307, allocations: 178 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004481, allocations: 8.781 kB / 280.8 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 47.57 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01176/0.1126, allocations: 10.37 MB / 338.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.1219, allocations: 4.149 MB / 342.8 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.1235, allocations: 59.69 kB / 342.9 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.1254, allocations: 0.8008 MB / 343.7 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.1282, allocations: 0.9853 MB / 344.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.1291, allocations: 331.5 kB / 345 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.1331, allocations: 2.978 MB / 348 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.1357, allocations: 2.511 MB / 350.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.1376, allocations: 1.444 MB / 351.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.1396, allocations: 1.817 MB / 353.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.14, allocations: 240 kB / 354 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006718/0.1407, allocations: 307.9 kB / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009653/0.1417, allocations: 1.079 MB / 355.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.1424, allocations: 0.8433 MB / 356.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.147, allocations: 5.945 MB / 362.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1471, allocations: 4 kB / 362.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1471, allocations: 0 / 362.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.1472, allocations: 0 / 362.2 MB, free: 2.109 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.007713/0.1549, allocations: 3.978 MB / 366.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.155, allocations: 8.031 kB / 366.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.1564, allocations: 0.4908 MB / 366.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/0.1607, allocations: 2.314 MB / 369 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.1609, allocations: 267 kB / 369.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005229/0.1614, allocations: 351.9 kB / 369.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.1695, allocations: 4.982 MB / 374.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/0.1697, allocations: 8 kB / 374.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.17, allocations: 144 kB / 374.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/0.1702, allocations: 179.1 kB / 374.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007334/0.1775, allocations: 4.287 MB / 379.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.4008, allocations: 14.95 MB / 394.1 MB, free: 40.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.4055, allocations: 4.201 MB / 398.3 MB, free: 37.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.4058, allocations: 132.3 kB / 398.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.4059, allocations: 60.75 kB / 398.5 MB, free: 36.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.087e-06/0.4059, allocations: 4 kB / 398.5 MB, free: 36.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02/0.4259, allocations: 10.32 MB / 408.8 MB, free: 31.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.426, allocations: 76 kB / 408.9 MB, free: 31.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.4295, allocations: 2.447 MB / 411.3 MB, free: 28.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002992/0.4298, allocations: 65.7 kB / 411.4 MB, free: 28.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.4306, allocations: 1.613 MB / 413 MB, free: 26.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.4312, allocations: 0.7267 MB / 413.7 MB, free: 26.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4314, allocations: 48 kB / 413.8 MB, free: 26.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4315, allocations: 402.6 kB / 414.2 MB, free: 25.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.4333, allocations: 1.316 MB / 415.5 MB, free: 24.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.435, allocations: 1.79 MB / 417.3 MB, free: 22.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.4369, allocations: 1.573 MB / 418.9 MB, free: 20.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4369, allocations: 9.5 kB / 418.9 MB, free: 20.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005832/0.4427, allocations: 4.107 MB / 423 MB, free: 16.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4428, allocations: 12 kB / 423 MB, free: 16.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.4428, allocations: 19.94 kB / 423 MB, free: 16.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.4454, allocations: 0.8796 MB / 423.9 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4475, allocations: 0.5266 MB / 424.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/0.4554, allocations: 8.945 MB / 433.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.4578, allocations: 119.9 kB / 433.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.458, allocations: 88 kB / 433.6 MB, free: 5.801 MB / 318.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.002077/0.4601, allocations: 1.219 MB / 434.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006488/0.4608, allocations: 272.7 kB / 435 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/0.4663, allocations: 3.762 MB / 438.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4663, allocations: 20 kB / 438.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4663, allocations: 8 kB / 438.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.4663, allocations: 7.969 kB / 438.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.4823, allocations: 8.094 MB / 446.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.4823, allocations: 6.438 kB / 446.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.484, allocations: 383.8 kB / 447.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.4871, allocations: 0.9322 MB / 448.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.4873, allocations: 59.94 kB / 448.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.4998, allocations: 10.43 MB / 458.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4999, allocations: 0 / 458.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00942/0.5093, allocations: 5.783 MB / 464.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/0.5117, allocations: 0.6382 MB / 465.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000568/0.5123, allocations: 55.27 kB / 465.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.5137, allocations: 131.8 kB / 465.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/0.5142, allocations: 177.8 kB / 465.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.5143, allocations: 63.98 kB / 465.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002697/0.517, allocations: 1.68 MB / 467.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.517, allocations: 4 kB / 467.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003161/0.5202, allocations: 0.7955 MB / 468.1 MB, free: 2.492 MB / 350.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%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.5209, allocations: 200.2 kB / 468.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006866/0.5278, allocations: 3.932 MB / 472.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5279, allocations: 0 / 472.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004545/0.5324, allocations: 2.507 MB / 474.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/0.5369, allocations: 0.7166 MB / 475.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.5527, allocations: 9.116 MB / 484.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003145/0.5559, allocations: 2.847 MB / 487.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002264/0.5582, allocations: 0.6788 MB / 488.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.5587, allocations: 175.4 kB / 488.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5587, allocations: 0.5469 kB / 488.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.07103/0.6298, allocations: 42.27 MB / 0.5181 GB, free: 3.773 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches