Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.6 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008492/0.0008492, allocations: 90.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002886, allocations: 8 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3751, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5221, allocations: 102.2 MB / 478 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5224, allocations: 91.94 kB / 478.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3695/0.892, allocations: 40.15 MB / 0.5061 GB, free: 96.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.8921, allocations: 3.656 kB / 0.5061 GB, free: 96.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001882/0.8923, allocations: 52.86 kB / 0.5062 GB, free: 96.17 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006891/0.8992, allocations: 2.137 MB / 0.5083 GB, free: 95.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.8992, allocations: 9.875 kB / 0.5083 GB, free: 95.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.9007, allocations: 252.4 kB / 0.5085 GB, free: 95.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.9039, allocations: 1.356 MB / 0.5098 GB, free: 94.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.9041, allocations: 133.8 kB / 0.51 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/0.9045, allocations: 181.4 kB / 0.5102 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/0.909, allocations: 2.349 MB / 0.5124 GB, free: 94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/0.9091, allocations: 15.78 kB / 0.5125 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.9093, allocations: 76.83 kB / 0.5125 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.9094, allocations: 84.41 kB / 0.5126 GB, free: 93.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.9127, allocations: 1.881 MB / 0.5145 GB, free: 93.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.9251, allocations: 7.171 MB / 0.5215 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.9272, allocations: 1.323 MB / 0.5227 GB, free: 88.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.9276, allocations: 134.4 kB / 0.5229 GB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.9276, allocations: 46.44 kB / 0.5229 GB, free: 88.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.717e-06/0.9276, allocations: 4 kB / 0.5229 GB, free: 88.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.01609/0.9437, allocations: 7.195 MB / 0.5299 GB, free: 84.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9438, allocations: 64.41 kB / 0.53 GB, free: 84.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.9455, allocations: 1.045 MB / 0.531 GB, free: 83.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.9456, allocations: 45.7 kB / 0.5311 GB, free: 83.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.9461, allocations: 0.8609 MB / 0.5319 GB, free: 82.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.9464, allocations: 398.2 kB / 0.5323 GB, free: 82.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.9465, allocations: 24 kB / 0.5323 GB, free: 82.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.9466, allocations: 361.9 kB / 0.5327 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/0.9475, allocations: 0.6779 MB / 0.5333 GB, free: 81.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.9486, allocations: 0.9814 MB / 0.5343 GB, free: 80.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.9497, allocations: 0.8267 MB / 0.5351 GB, free: 79.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9497, allocations: 4 kB / 0.5351 GB, free: 79.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003872/0.9536, allocations: 2.428 MB / 0.5375 GB, free: 77.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.9536, allocations: 13 kB / 0.5375 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.9537, allocations: 11.95 kB / 0.5375 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.9552, allocations: 0.6411 MB / 0.5381 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.9562, allocations: 285.8 kB / 0.5384 GB, free: 76.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/0.9633, allocations: 6.52 MB / 0.5448 GB, free: 69.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.9652, allocations: 94.64 kB / 0.5448 GB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.9656, allocations: 48 kB / 0.5449 GB, free: 69.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001468/0.9671, allocations: 0.6126 MB / 0.5455 GB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/0.9675, allocations: 138.3 kB / 0.5456 GB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.9715, allocations: 2.271 MB / 0.5478 GB, free: 66.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.9715, allocations: 12 kB / 0.5479 GB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.9715, allocations: 8 kB / 0.5479 GB, free: 66.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.9715, allocations: 7.969 kB / 0.5479 GB, free: 66.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007691/0.9792, allocations: 4.426 MB / 0.5522 GB, free: 61.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.9793, allocations: 12 kB / 0.5522 GB, free: 61.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.98, allocations: 179.7 kB / 0.5524 GB, free: 61.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.9819, allocations: 0.7263 MB / 0.5531 GB, free: 60.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.9821, allocations: 35.97 kB / 0.5531 GB, free: 60.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/0.9904, allocations: 8.302 MB / 0.5612 GB, free: 52.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9904, allocations: 4 kB / 0.5612 GB, free: 52.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.996, allocations: 3.369 MB / 0.5645 GB, free: 48.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.9972, allocations: 355.3 kB / 0.5649 GB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005103/0.9978, allocations: 31.98 kB / 0.5649 GB, free: 48.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.999, allocations: 83.91 kB / 0.565 GB, free: 48.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.9994, allocations: 88.81 kB / 0.565 GB, free: 48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9995, allocations: 39.94 kB / 0.5651 GB, free: 47.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00178/1.001, allocations: 0.8108 MB / 0.5659 GB, free: 47.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.001, allocations: 0 / 0.5659 GB, free: 47.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003021/1.004, allocations: 479.9 kB / 0.5663 GB, free: 46.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007991/1.005, allocations: 301.7 kB / 0.5666 GB, free: 46.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004494/1.01, allocations: 2.31 MB / 0.5689 GB, free: 44.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.01, allocations: 0 / 0.5689 GB, free: 44.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/1.012, allocations: 1.597 MB / 0.5704 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.015, allocations: 357.2 kB / 0.5708 GB, free: 42.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/1.024, allocations: 4.736 MB / 0.5754 GB, free: 37.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/1.026, allocations: 1.685 MB / 0.5771 GB, free: 35.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001545/1.028, allocations: 292.1 kB / 0.5773 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/1.028, allocations: 99.41 kB / 0.5774 GB, free: 35.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.485e-06/1.028, allocations: 0 / 0.5774 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Templates: time 0.04172/1.07, allocations: 24.83 MB / 0.6017 GB, free: 10.36 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches