Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001532/0.001532, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 89 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.976e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3419, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.5093, allocations: 101.5 MB / 463.8 MB, free: 0.8047 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/0.5097, allocations: 83.95 kB / 463.9 MB, free: 0.7227 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1818/0.6915, allocations: 39.69 MB / 0.4918 GB, free: 8.883 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6916, allocations: 0 / 0.4918 GB, free: 8.883 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.6918, allocations: 51.94 kB / 0.4919 GB, free: 8.832 MB / 395.1 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.007567/0.6994, allocations: 1.941 MB / 0.4937 GB, free: 6.84 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6995, allocations: 8.031 kB / 0.4938 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.701, allocations: 253.3 kB / 0.494 GB, free: 6.582 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.7059, allocations: 1.34 MB / 0.4953 GB, free: 5.199 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.7061, allocations: 60 kB / 0.4954 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007196/0.7068, allocations: 111.9 kB / 0.4955 GB, free: 5.031 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006028/0.7129, allocations: 1.69 MB / 0.4971 GB, free: 3.34 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/0.7212, allocations: 2.029 MB / 0.4991 GB, free: 1.23 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-05/0.7213, allocations: 4.344 kB / 0.4991 GB, free: 1.227 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.7216, allocations: 15.94 kB / 0.4991 GB, free: 1.211 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.7217, allocations: 79.52 kB / 0.4992 GB, free: 1.133 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2865/1.008, allocations: 6.815 MB / 0.5058 GB, free: 100.4 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.011, allocations: 1.227 MB / 0.507 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.013, allocations: 0.6708 MB / 0.5077 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/1.013, allocations: 130 kB / 0.5078 GB, free: 99.99 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.013, allocations: 47.11 kB / 0.5079 GB, free: 99.95 MB / 395.1 MB Notification: Performance of pre-optimization done (n=90): time 4.348e-06/1.013, allocations: 0 / 0.5079 GB, free: 99.95 MB / 395.1 MB Notification: Performance of matching and sorting (n=113): time 0.01463/1.028, allocations: 4.568 MB / 0.5123 GB, free: 99.29 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.028, allocations: 67.11 kB / 0.5124 GB, free: 99.23 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.03, allocations: 0.8473 MB / 0.5132 GB, free: 99.09 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/1.03, allocations: 25.7 kB / 0.5132 GB, free: 99.05 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/1.031, allocations: 0.8611 MB / 0.5141 GB, free: 98.67 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/1.031, allocations: 380.6 kB / 0.5145 GB, free: 98.46 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.031, allocations: 0 / 0.5145 GB, free: 98.46 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/1.031, allocations: 369 kB / 0.5148 GB, free: 98.15 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.033, allocations: 0.6137 MB / 0.5154 GB, free: 98.14 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.035, allocations: 0.9043 MB / 0.5163 GB, free: 97.82 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.036, allocations: 0.7599 MB / 0.517 GB, free: 97.8 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.036, allocations: 3.312 kB / 0.517 GB, free: 97.8 MB / 395.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005712/1.042, allocations: 2.121 MB / 0.5191 GB, free: 97.45 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.042, allocations: 7.875 kB / 0.5191 GB, free: 97.45 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.042, allocations: 14.02 kB / 0.5191 GB, free: 97.45 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/1.045, allocations: 0.6297 MB / 0.5197 GB, free: 97.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/1.047, allocations: 277.6 kB / 0.52 GB, free: 97.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/1.056, allocations: 6.036 MB / 0.5259 GB, free: 93.39 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.058, allocations: 71.78 kB / 0.526 GB, free: 93.39 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.059, allocations: 50.12 kB / 0.526 GB, free: 93.38 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003422/1.059, allocations: 135.9 kB / 0.5261 GB, free: 93.27 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/1.059, allocations: 128.2 kB / 0.5263 GB, free: 93.2 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005249/1.064, allocations: 2.063 MB / 0.5283 GB, free: 92.45 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.065, allocations: 13.91 kB / 0.5283 GB, free: 92.45 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.065, allocations: 10.95 kB / 0.5283 GB, free: 92.45 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/1.065, allocations: 7.734 kB / 0.5283 GB, free: 92.45 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.075, allocations: 4.01 MB / 0.5322 GB, free: 90.84 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.075, allocations: 6.312 kB / 0.5322 GB, free: 90.84 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.077, allocations: 178.6 kB / 0.5324 GB, free: 90.83 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/1.08, allocations: 0.7088 MB / 0.5331 GB, free: 90.64 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/1.08, allocations: 20.72 kB / 0.5331 GB, free: 90.64 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.092, allocations: 7.716 MB / 0.5407 GB, free: 85.35 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.092, allocations: 3.844 kB / 0.5407 GB, free: 85.35 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/1.099, allocations: 3.164 MB / 0.5437 GB, free: 83.84 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/1.1, allocations: 348.9 kB / 0.5441 GB, free: 83.61 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.1, allocations: 7.453 kB / 0.5441 GB, free: 83.61 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.101, allocations: 64.67 kB / 0.5441 GB, free: 83.61 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.102, allocations: 102.6 kB / 0.5442 GB, free: 83.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.102, allocations: 37.83 kB / 0.5443 GB, free: 83.58 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001246/1.103, allocations: 0.6424 MB / 0.5449 GB, free: 83.29 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.103, allocations: 0 / 0.5449 GB, free: 83.29 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002291/1.105, allocations: 406.8 kB / 0.5453 GB, free: 83.28 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0006774/1.106, allocations: 279.9 kB / 0.5456 GB, free: 83.17 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/1.111, allocations: 2.123 MB / 0.5476 GB, free: 82.14 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.111, allocations: 1.406 kB / 0.5476 GB, free: 82.14 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.115, allocations: 1.474 MB / 0.5491 GB, free: 81.35 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.117, allocations: 271.8 kB / 0.5493 GB, free: 81.28 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/1.125, allocations: 3.236 MB / 0.5525 GB, free: 79.77 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.127, allocations: 1.671 MB / 0.5541 GB, free: 78.89 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.128, allocations: 98.03 kB / 0.5542 GB, free: 78.88 MB / 395.1 MB Notification: Performance of SimCode: time 1.834e-06/1.128, allocations: 0 / 0.5542 GB, free: 78.88 MB / 395.1 MB Notification: Performance of Templates: time 0.08827/1.216, allocations: 56.01 MB / 0.6089 GB, free: 28.31 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches