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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001332, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001218, allocations: 99.89 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.522, allocations: 111.7 MB / 487.6 MB, free: 0.875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004944/0.5226, allocations: 95.94 kB / 487.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5428/1.065, allocations: 93.17 MB / 0.5672 GB, free: 49.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.988e-06/1.066, allocations: 0 / 0.5672 GB, free: 49.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006695/1.066, allocations: 91.88 kB / 0.5673 GB, free: 49.55 MB / 378.7 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.02149/1.088, allocations: 3.967 MB / 0.5712 GB, free: 45.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.015e-05/1.088, allocations: 8.031 kB / 0.5712 GB, free: 45.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/1.093, allocations: 0.5063 MB / 0.5717 GB, free: 45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/1.104, allocations: 2.564 MB / 0.5742 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/1.105, allocations: 267 kB / 0.5744 GB, free: 42.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/1.107, allocations: 347.9 kB / 0.5748 GB, free: 41.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/1.127, allocations: 4.948 MB / 0.5796 GB, free: 36.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/1.127, allocations: 11.89 kB / 0.5796 GB, free: 36.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008979/1.128, allocations: 152.3 kB / 0.5798 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/1.128, allocations: 179 kB / 0.5799 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/1.143, allocations: 4.061 MB / 0.5839 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/1.188, allocations: 14.95 MB / 0.5985 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007088/1.195, allocations: 4.223 MB / 0.6026 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/1.195, allocations: 147 kB / 0.6027 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.196, allocations: 56.56 kB / 0.6028 GB, free: 12.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 5.811e-06/1.196, allocations: 0 / 0.6028 GB, free: 12.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.03302/1.229, allocations: 10.18 MB / 0.6127 GB, free: 1.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.229, allocations: 73.41 kB / 0.6128 GB, free: 1.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006529/1.235, allocations: 2.213 MB / 0.615 GB, free: 15.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009688/1.236, allocations: 61.7 kB / 0.615 GB, free: 15.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002407/1.239, allocations: 1.604 MB / 0.6166 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001989/1.241, allocations: 0.7431 MB / 0.6173 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/1.241, allocations: 44 kB / 0.6174 GB, free: 13.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003378/1.241, allocations: 398.5 kB / 0.6177 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.245, allocations: 1.308 MB / 0.619 GB, free: 11.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/1.249, allocations: 1.741 MB / 0.6207 GB, free: 9.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/1.253, allocations: 1.548 MB / 0.6222 GB, free: 8.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.253, allocations: 4 kB / 0.6222 GB, free: 8 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.011/1.264, allocations: 4.052 MB / 0.6262 GB, free: 3.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/1.264, allocations: 12 kB / 0.6262 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/1.264, allocations: 12 kB / 0.6262 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/1.267, allocations: 0.7545 MB / 0.627 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/1.27, allocations: 0.5304 MB / 0.6275 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.285, allocations: 8.947 MB / 0.6362 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/1.29, allocations: 120 kB / 0.6363 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/1.29, allocations: 91.94 kB / 0.6364 GB, free: 9.043 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (248): * Single equations (assignments): 243 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004076/1.295, allocations: 1.208 MB / 0.6376 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.296, allocations: 276.6 kB / 0.6379 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009902/1.306, allocations: 3.777 MB / 0.6415 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.306, allocations: 20 kB / 0.6416 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.306, allocations: 8 kB / 0.6416 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/1.306, allocations: 11.95 kB / 0.6416 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4018/1.708, allocations: 8.084 MB / 0.6495 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.708, allocations: 2.906 kB / 0.6495 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.709, allocations: 394.2 kB / 0.6499 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/1.712, allocations: 0.8106 MB / 0.6506 GB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.712, allocations: 60.02 kB / 0.6507 GB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.722, allocations: 10.47 MB / 0.6609 GB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.722, allocations: 7.453 kB / 0.6609 GB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008905/1.731, allocations: 5.821 MB / 0.6666 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002417/1.733, allocations: 0.6434 MB / 0.6672 GB, free: 75.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007583/1.734, allocations: 50.69 kB / 0.6673 GB, free: 75.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.735, allocations: 131.6 kB / 0.6674 GB, free: 75.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/1.736, allocations: 188.8 kB / 0.6676 GB, free: 75.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.736, allocations: 62.94 kB / 0.6677 GB, free: 75.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002632/1.739, allocations: 1.7 MB / 0.6693 GB, free: 75.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.703e-06/1.739, allocations: 3.312 kB / 0.6693 GB, free: 75.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003024/1.742, allocations: 0.8401 MB / 0.6701 GB, free: 75.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (178): * Single equations (assignments): 173 * 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.0006727/1.743, allocations: 376.8 kB / 0.6705 GB, free: 75.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006202/1.749, allocations: 3.929 MB / 0.6743 GB, free: 74.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.749, allocations: 3.5 kB / 0.6743 GB, free: 74.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.753, allocations: 2.516 MB / 0.6768 GB, free: 74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/1.758, allocations: 0.731 MB / 0.6775 GB, free: 73.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.778, allocations: 9.11 MB / 0.6864 GB, free: 70.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003165/1.781, allocations: 2.846 MB / 0.6892 GB, free: 69.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003803/1.785, allocations: 0.6728 MB / 0.6898 GB, free: 69.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009001/1.786, allocations: 174.7 kB / 0.69 GB, free: 69.67 MB / 410.7 MB Notification: Performance of SimCode: time 3.557e-06/1.786, allocations: 0 / 0.69 GB, free: 69.67 MB / 410.7 MB Notification: Performance of Templates: time 0.08532/1.871, allocations: 46.17 MB / 0.7351 GB, free: 47.72 MB / 410.7 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