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.001404/0.001404, allocations: 177.1 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008231/0.0008232, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.25e-05/1.254e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07551, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.3825, allocations: 111.2 MB / 474.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3828, allocations: 84.33 kB / 474.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4107/0.7936, allocations: 92.23 MB / 0.5533 GB, free: 87.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7936, allocations: 3.875 kB / 0.5533 GB, free: 87.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002798/0.7939, allocations: 96.09 kB / 0.5534 GB, free: 87.26 MB / 410.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.007915/0.8018, allocations: 3.543 MB / 0.5569 GB, free: 85.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8019, allocations: 11.56 kB / 0.5569 GB, free: 85.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.8036, allocations: 0.4953 MB / 0.5574 GB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.808, allocations: 2.554 MB / 0.5599 GB, free: 85.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.88e-05/0.8081, allocations: 112.1 kB / 0.56 GB, free: 85.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.8086, allocations: 212.8 kB / 0.5602 GB, free: 85.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005975/0.8146, allocations: 3.695 MB / 0.5638 GB, free: 85.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006145/0.8207, allocations: 4.326 MB / 0.568 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.8208, allocations: 11 kB / 0.568 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.8211, allocations: 3.781 kB / 0.568 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.8213, allocations: 182.2 kB / 0.5682 GB, free: 84.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.8407, allocations: 14.23 MB / 0.5821 GB, free: 79.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.8438, allocations: 4.075 MB / 0.5861 GB, free: 76.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.8457, allocations: 1.756 MB / 0.5878 GB, free: 76.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.846, allocations: 147.5 kB / 0.588 GB, free: 75.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8461, allocations: 54.06 kB / 0.588 GB, free: 75.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.368e-06/0.8461, allocations: 0 / 0.588 GB, free: 75.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01089/0.857, allocations: 7.2 MB / 0.595 GB, free: 72.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.857, allocations: 75.94 kB / 0.5951 GB, free: 72.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.8592, allocations: 1.75 MB / 0.5968 GB, free: 72.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.8593, allocations: 25.7 kB / 0.5968 GB, free: 72.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/0.86, allocations: 1.609 MB / 0.5984 GB, free: 70.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.8604, allocations: 0.7082 MB / 0.5991 GB, free: 70.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.8605, allocations: 0 / 0.5991 GB, free: 70.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8606, allocations: 396.7 kB / 0.5995 GB, free: 70.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.8619, allocations: 1.193 MB / 0.6006 GB, free: 69.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.8634, allocations: 1.602 MB / 0.6022 GB, free: 68.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.865, allocations: 1.444 MB / 0.6036 GB, free: 68.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.865, allocations: 3.906 kB / 0.6036 GB, free: 68.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004814/0.8699, allocations: 3.663 MB / 0.6072 GB, free: 66.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.8699, allocations: 11.28 kB / 0.6072 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.8699, allocations: 11.16 kB / 0.6072 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.8715, allocations: 0.751 MB / 0.608 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.8733, allocations: 0.5265 MB / 0.6085 GB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007181/0.8805, allocations: 8.338 MB / 0.6166 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.8828, allocations: 73.69 kB / 0.6167 GB, free: 59.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.883, allocations: 83.75 kB / 0.6168 GB, free: 59.05 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 () * 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.0003875/0.8834, allocations: 165.4 kB / 0.6169 GB, free: 58.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.8838, allocations: 248.6 kB / 0.6172 GB, free: 58.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.8887, allocations: 3.417 MB / 0.6205 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.8888, allocations: 23.94 kB / 0.6205 GB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.8888, allocations: 8 kB / 0.6205 GB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.8888, allocations: 9.844 kB / 0.6205 GB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.8995, allocations: 7.294 MB / 0.6277 GB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.8996, allocations: 4 kB / 0.6277 GB, free: 49.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.9011, allocations: 393.2 kB / 0.628 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.903, allocations: 0.801 MB / 0.6288 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.9031, allocations: 19.7 kB / 0.6288 GB, free: 48.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007872/0.911, allocations: 9.815 MB / 0.6384 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9111, allocations: 7.938 kB / 0.6384 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.9177, allocations: 5.385 MB / 0.6437 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.9194, allocations: 0.6129 MB / 0.6443 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.9199, allocations: 11.66 kB / 0.6443 GB, free: 34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.9212, allocations: 92.38 kB / 0.6444 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/0.9216, allocations: 177 kB / 0.6446 GB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.9218, allocations: 67.78 kB / 0.6446 GB, free: 33.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001856/0.9236, allocations: 1.316 MB / 0.6459 GB, free: 32.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9236, allocations: 4 kB / 0.6459 GB, free: 32.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002392/0.926, allocations: 0.7187 MB / 0.6466 GB, free: 31.85 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 () * 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.0005608/0.9266, allocations: 351.2 kB / 0.6469 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.9308, allocations: 3.626 MB / 0.6505 GB, free: 28.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.9309, allocations: 0 / 0.6505 GB, free: 28.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.9336, allocations: 2.349 MB / 0.6528 GB, free: 26.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.9362, allocations: 0.526 MB / 0.6533 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.945, allocations: 6.265 MB / 0.6594 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/0.9471, allocations: 2.842 MB / 0.6622 GB, free: 17.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001929/0.949, allocations: 0.6373 MB / 0.6628 GB, free: 16.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.9496, allocations: 155.4 kB / 0.663 GB, free: 16.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9496, allocations: 0 / 0.663 GB, free: 16.47 MB / 410.7 MB Notification: Performance of Templates: time 0.2536/1.203, allocations: 35.66 MB / 0.6978 GB, free: 92.89 MB / 426.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