Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 92.16 kB / 17.3 MB, free: 6.391 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.001787/0.001787, allocations: 171.6 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0006377/0.0006376, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01651/0.1572, allocations: 12.09 MB / 341.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1696, allocations: 4.165 MB / 345.2 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.1741, allocations: 59.69 kB / 345.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004807/0.1789, allocations: 0.8431 MB / 346.1 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.1862, allocations: 1.08 MB / 347.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.1891, allocations: 471.5 kB / 347.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.1995, allocations: 5.363 MB / 353 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.2057, allocations: 2.946 MB / 356 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.2117, allocations: 1.583 MB / 357.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005348/0.2171, allocations: 2.186 MB / 359.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.2183, allocations: 248 kB / 360 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.2202, allocations: 343.8 kB / 360.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.2219, allocations: 1.145 MB / 361.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005094/0.227, allocations: 2.092 MB / 363.6 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.2376, allocations: 6.941 MB / 370.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.2377, allocations: 0 / 370.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.773e-06/0.2377, allocations: 0 / 370.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004574/0.2382, allocations: 0 / 370.5 MB, free: 9.996 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.01386/0.2521, allocations: 3.943 MB / 374.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.264e-05/0.2522, allocations: 15.97 kB / 374.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.2568, allocations: 0.5034 MB / 375 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/0.2637, allocations: 2.376 MB / 377.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.2641, allocations: 267 kB / 377.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.2653, allocations: 363.9 kB / 378 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2536/0.519, allocations: 5.022 MB / 383 MB, free: 32.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.5192, allocations: 5.547 kB / 383 MB, free: 32.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004101/0.5196, allocations: 148.6 kB / 383.1 MB, free: 32.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002569/0.5198, allocations: 180.2 kB / 383.3 MB, free: 32.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.531, allocations: 4.322 MB / 387.6 MB, free: 32.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.5594, allocations: 15 MB / 402.6 MB, free: 24.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.563, allocations: 4.209 MB / 406.8 MB, free: 21.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/0.5659, allocations: 2.012 MB / 408.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.5662, allocations: 126.3 kB / 409 MB, free: 20.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.5662, allocations: 58.25 kB / 409 MB, free: 20.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 5.2e-06/0.5663, allocations: 4 kB / 409 MB, free: 20.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01883/0.5851, allocations: 10.11 MB / 419.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.5852, allocations: 73.41 kB / 419.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.5901, allocations: 2.506 MB / 421.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004042/0.5905, allocations: 66.92 kB / 421.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.5915, allocations: 1.618 MB / 423.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.5923, allocations: 0.7359 MB / 424.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.5926, allocations: 194.3 kB / 424.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.5927, allocations: 309.1 kB / 424.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.5949, allocations: 1.316 MB / 425.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.5972, allocations: 1.792 MB / 427.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.6017, allocations: 3.24 MB / 431 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.6017, allocations: 4 kB / 431 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007472/0.6092, allocations: 4.092 MB / 435.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.6093, allocations: 15.98 kB / 435.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.6093, allocations: 12 kB / 435.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/0.6123, allocations: 0.8776 MB / 436 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.6146, allocations: 0.5344 MB / 436.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.6263, allocations: 8.757 MB / 445.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.629, allocations: 127.9 kB / 445.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/0.6296, allocations: 87.98 kB / 445.5 MB, free: 15.45 MB / 350.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.003505/0.6332, allocations: 1.208 MB / 446.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/0.6343, allocations: 276.7 kB / 447 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008103/0.6424, allocations: 3.749 MB / 450.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/0.6425, allocations: 27.94 kB / 450.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.6426, allocations: 7.469 kB / 450.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.6426, allocations: 7.969 kB / 450.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.6625, allocations: 8.125 MB / 458.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/0.6625, allocations: 4 kB / 458.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/0.6645, allocations: 385.8 kB / 459.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/0.668, allocations: 0.927 MB / 460.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/0.6684, allocations: 55.98 kB / 460.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.6807, allocations: 10.2 MB / 470.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6807, allocations: 4 kB / 470.4 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.6914, allocations: 5.557 MB / 476 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/0.6936, allocations: 0.6343 MB / 476.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006756/0.6943, allocations: 55.92 kB / 476.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.6959, allocations: 123.9 kB / 476.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.6965, allocations: 181.1 kB / 477 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.6967, allocations: 66.17 kB / 477.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003549/0.7002, allocations: 1.727 MB / 478.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7003, allocations: 0 / 478.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003963/0.7042, allocations: 0.8039 MB / 479.6 MB, free: 12.8 MB / 382.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.0007514/0.705, allocations: 232.9 kB / 479.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007202/0.7122, allocations: 3.913 MB / 483.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7123, allocations: 0 / 483.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00435/0.7166, allocations: 2.496 MB / 486.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/0.7224, allocations: 0.742 MB / 487 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/0.7467, allocations: 9.51 MB / 496.5 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004218/0.7511, allocations: 2.78 MB / 499.2 MB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003177/0.7543, allocations: 0.6827 MB / 499.9 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.7551, allocations: 179.4 kB / 0.4884 GB, free: 8.164 MB / 398.1 MB Notification: Performance of SimCode: time 1.863e-06/0.7552, allocations: 0 / 0.4884 GB, free: 8.164 MB / 398.1 MB Notification: Performance of Templates: time 0.3322/1.087, allocations: 43.85 MB / 0.5312 GB, free: 142.9 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches