Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 85.03 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2668, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.3954, allocations: 102.5 MB / 0.4922 GB, free: 9.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.3957, allocations: 91.95 kB / 0.4923 GB, free: 9.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3215/0.7172, allocations: 40.27 MB / 0.5316 GB, free: 82.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.7172, allocations: 0 / 0.5316 GB, free: 82.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002199/0.7174, allocations: 47.94 kB / 0.5317 GB, free: 82.43 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.006546/0.724, allocations: 2.142 MB / 0.5338 GB, free: 80.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7241, allocations: 8.031 kB / 0.5338 GB, free: 80.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.7256, allocations: 261.2 kB / 0.534 GB, free: 79.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.7301, allocations: 1.351 MB / 0.5353 GB, free: 78.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.7302, allocations: 131.6 kB / 0.5355 GB, free: 78.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008326/0.7311, allocations: 187.8 kB / 0.5357 GB, free: 78.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006547/0.7376, allocations: 2.336 MB / 0.5379 GB, free: 75.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.7378, allocations: 12 kB / 0.5379 GB, free: 75.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004176/0.7382, allocations: 76.33 kB / 0.538 GB, free: 75.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.7383, allocations: 91.45 kB / 0.5381 GB, free: 75.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.7422, allocations: 1.88 MB / 0.5399 GB, free: 73.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.7536, allocations: 7.16 MB / 0.5469 GB, free: 66.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.7555, allocations: 1.333 MB / 0.5482 GB, free: 65.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.7558, allocations: 142 kB / 0.5484 GB, free: 64.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.7559, allocations: 47.56 kB / 0.5484 GB, free: 64.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 4.889e-06/0.7559, allocations: 0 / 0.5484 GB, free: 64.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.01585/0.7718, allocations: 7.196 MB / 0.5554 GB, free: 57.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.7719, allocations: 68.41 kB / 0.5555 GB, free: 57.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.7739, allocations: 1.041 MB / 0.5565 GB, free: 56.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7741, allocations: 45.7 kB / 0.5566 GB, free: 56.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.7746, allocations: 0.8575 MB / 0.5574 GB, free: 55.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.7749, allocations: 398.2 kB / 0.5578 GB, free: 55.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.775, allocations: 28 kB / 0.5578 GB, free: 54.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7751, allocations: 361.9 kB / 0.5582 GB, free: 54.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/0.7761, allocations: 0.6741 MB / 0.5588 GB, free: 53.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.7772, allocations: 0.9853 MB / 0.5598 GB, free: 52.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.7785, allocations: 0.8345 MB / 0.5606 GB, free: 52.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.7785, allocations: 4 kB / 0.5606 GB, free: 52.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004472/0.783, allocations: 2.432 MB / 0.563 GB, free: 49.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.7831, allocations: 10.81 kB / 0.563 GB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.7831, allocations: 8 kB / 0.563 GB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.7846, allocations: 0.6389 MB / 0.5636 GB, free: 48.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7857, allocations: 283.6 kB / 0.5639 GB, free: 48.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/0.7928, allocations: 6.522 MB / 0.5703 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7944, allocations: 107.9 kB / 0.5704 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.7947, allocations: 56 kB / 0.5704 GB, free: 41.66 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.001481/0.7962, allocations: 0.6095 MB / 0.571 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.7967, allocations: 134.3 kB / 0.5711 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.8007, allocations: 2.275 MB / 0.5734 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.8007, allocations: 12 kB / 0.5734 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.8008, allocations: 11.95 kB / 0.5734 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.8008, allocations: 3.984 kB / 0.5734 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008161/0.809, allocations: 4.43 MB / 0.5777 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.809, allocations: 0 / 0.5777 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.8098, allocations: 172 kB / 0.5779 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.8116, allocations: 0.7291 MB / 0.5786 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.8117, allocations: 27.98 kB / 0.5786 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/0.8198, allocations: 8.32 MB / 0.5867 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8199, allocations: 0 / 0.5867 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.825, allocations: 3.378 MB / 0.59 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.8262, allocations: 355.3 kB / 0.5904 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.8267, allocations: 32 kB / 0.5904 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8279, allocations: 79.91 kB / 0.5905 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.8283, allocations: 100.8 kB / 0.5906 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.8285, allocations: 35.98 kB / 0.5906 GB, free: 20.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001576/0.8301, allocations: 0.8108 MB / 0.5914 GB, free: 19.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8301, allocations: 0 / 0.5914 GB, free: 19.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002301/0.8324, allocations: 479.9 kB / 0.5919 GB, free: 19.04 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.0007442/0.8331, allocations: 290 kB / 0.5921 GB, free: 18.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.837, allocations: 2.313 MB / 0.5944 GB, free: 16.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.837, allocations: 4 kB / 0.5944 GB, free: 16.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8394, allocations: 1.594 MB / 0.596 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.8416, allocations: 359.1 kB / 0.5963 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.8492, allocations: 4.736 MB / 0.6009 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.851, allocations: 1.689 MB / 0.6026 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.8523, allocations: 292.1 kB / 0.6029 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.8528, allocations: 95.42 kB / 0.6029 GB, free: 7.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.8528, allocations: 0 / 0.6029 GB, free: 7.465 MB / 378.7 MB Notification: Performance of Templates: time 0.04996/0.9028, allocations: 24.82 MB / 0.6272 GB, free: 14.85 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches