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.001284/0.001284, allocations: 97.52 kB / 17.3 MB, free: 6.344 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.001486/0.001486, allocations: 177.2 kB / 18.2 MB, free: 5.531 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.962/1.962, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000439/0.0004391, allocations: 12.47 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 47.6 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01421/0.1201, allocations: 12.1 MB / 341.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1308, allocations: 4.165 MB / 345.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.1345, allocations: 63.69 kB / 345.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.138, allocations: 0.8353 MB / 346.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005098/0.1432, allocations: 1.08 MB / 347.2 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.1451, allocations: 467.6 kB / 347.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.1528, allocations: 5.366 MB / 353 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/0.1574, allocations: 2.946 MB / 356 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.1621, allocations: 1.595 MB / 357.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.1665, allocations: 2.186 MB / 359.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009508/0.1675, allocations: 244 kB / 360 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.1689, allocations: 343.8 kB / 360.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.1702, allocations: 1.148 MB / 361.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003377/0.1736, allocations: 2.085 MB / 363.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009076/0.1827, allocations: 6.949 MB / 370.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1828, allocations: 3.938 kB / 370.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1828, allocations: 0 / 370.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000294/0.1831, allocations: 0 / 370.5 MB, free: 9.973 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01338/0.1965, allocations: 3.943 MB / 374.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.1966, allocations: 12.03 kB / 374.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.1997, allocations: 0.4917 MB / 375 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.2059, allocations: 2.384 MB / 377.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.2063, allocations: 271 kB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.2077, allocations: 359.9 kB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2172/0.4249, allocations: 5.023 MB / 383 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4251, allocations: 4.438 kB / 383 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/0.4256, allocations: 144.6 kB / 383.1 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.4258, allocations: 182.2 kB / 383.3 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.436, allocations: 4.316 MB / 387.6 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.4615, allocations: 15 MB / 402.6 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.4654, allocations: 4.21 MB / 406.9 MB, free: 32.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/0.4684, allocations: 2.007 MB / 408.9 MB, free: 31.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.4687, allocations: 133 kB / 409 MB, free: 31.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.4687, allocations: 60.97 kB / 409 MB, free: 31.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.527e-06/0.4687, allocations: 0 / 409 MB, free: 31.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02047/0.4892, allocations: 10.12 MB / 419.2 MB, free: 21.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.4893, allocations: 77.34 kB / 419.2 MB, free: 21.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.4928, allocations: 2.502 MB / 421.7 MB, free: 18.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003624/0.4932, allocations: 61.7 kB / 421.8 MB, free: 18.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/0.494, allocations: 1.619 MB / 423.4 MB, free: 16.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/0.4945, allocations: 0.7419 MB / 424.2 MB, free: 16.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.4948, allocations: 190.3 kB / 424.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.4948, allocations: 301.1 kB / 424.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.4966, allocations: 1.312 MB / 426 MB, free: 14.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4985, allocations: 1.794 MB / 427.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/0.5021, allocations: 3.239 MB / 431 MB, free: 8.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5022, allocations: 8 kB / 431 MB, free: 8.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006094/0.5083, allocations: 4.099 MB / 435.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5083, allocations: 12 kB / 435.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.5084, allocations: 12 kB / 435.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.5111, allocations: 0.8879 MB / 436 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.5134, allocations: 0.5305 MB / 436.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/0.5231, allocations: 8.756 MB / 445.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/0.5259, allocations: 119.9 kB / 445.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/0.5263, allocations: 88 kB / 445.5 MB, free: 9.938 MB / 334.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.002937/0.5292, allocations: 1.212 MB / 446.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000822/0.5301, allocations: 280.6 kB / 447 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/0.5371, allocations: 3.745 MB / 450.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5371, allocations: 20.09 kB / 450.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5371, allocations: 8 kB / 450.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.5372, allocations: 23.88 kB / 450.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.5527, allocations: 8.112 MB / 458.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.5528, allocations: 4.344 kB / 458.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.5545, allocations: 395.2 kB / 459.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/0.5579, allocations: 0.9305 MB / 460.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/0.5581, allocations: 51.97 kB / 460.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.5703, allocations: 10.21 MB / 470.5 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5703, allocations: 0 / 470.5 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.5809, allocations: 5.549 MB / 476 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/0.5834, allocations: 0.6343 MB / 476.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/0.5845, allocations: 47.98 kB / 476.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.5867, allocations: 131.9 kB / 476.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006721/0.5874, allocations: 184.3 kB / 477 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/0.5877, allocations: 63.98 kB / 477.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004112/0.5918, allocations: 1.731 MB / 478.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5918, allocations: 0 / 478.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00387/0.5957, allocations: 0.7929 MB / 479.6 MB, free: 7.105 MB / 366.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0008417/0.5966, allocations: 228.1 kB / 479.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00729/0.6039, allocations: 3.91 MB / 483.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.6039, allocations: 0 / 483.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004626/0.6086, allocations: 2.497 MB / 486.2 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/0.6148, allocations: 0.7457 MB / 487 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.634, allocations: 9.527 MB / 496.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/0.6383, allocations: 2.772 MB / 499.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003077/0.6414, allocations: 0.6788 MB / 499.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.6425, allocations: 175.4 kB / 0.4884 GB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6425, allocations: 0 / 0.4884 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Templates: time 0.0909/0.7334, allocations: 43.85 MB / 0.5312 GB, free: 6.453 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (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) 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