Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 195.1 kB / 18.07 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007641/0.0007642, allocations: 103.5 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002047/0.0002047, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.186, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.2937, allocations: 103.4 MB / 0.5 GB, free: 4.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.294, allocations: 91.95 kB / 0.5001 GB, free: 4.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2617/0.5557, allocations: 40.4 MB / 0.5396 GB, free: 73.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5557, allocations: 3.938 kB / 0.5396 GB, free: 73.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.5558, allocations: 51.94 kB / 0.5396 GB, free: 73.53 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.003818/0.5597, allocations: 2.123 MB / 0.5417 GB, free: 71.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5597, allocations: 12.03 kB / 0.5417 GB, free: 71.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.5605, allocations: 266.2 kB / 0.542 GB, free: 71.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.5628, allocations: 1.391 MB / 0.5433 GB, free: 69.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/0.5629, allocations: 135.9 kB / 0.5434 GB, free: 69.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.5631, allocations: 180.3 kB / 0.5436 GB, free: 69.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.5664, allocations: 2.356 MB / 0.5459 GB, free: 66.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/0.5664, allocations: 11.84 kB / 0.5459 GB, free: 66.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.5666, allocations: 76 kB / 0.546 GB, free: 66.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.5667, allocations: 83.45 kB / 0.5461 GB, free: 66.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.5695, allocations: 1.884 MB / 0.5479 GB, free: 64.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00907/0.5786, allocations: 7.184 MB / 0.5549 GB, free: 57.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5801, allocations: 1.323 MB / 0.5562 GB, free: 56.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.5811, allocations: 0.7331 MB / 0.5569 GB, free: 55.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.5814, allocations: 138 kB / 0.5571 GB, free: 55.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.5814, allocations: 39.56 kB / 0.5571 GB, free: 55.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.5814, allocations: 0 / 0.5571 GB, free: 55.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.0138/0.5952, allocations: 7.176 MB / 0.5641 GB, free: 47.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5953, allocations: 64.41 kB / 0.5642 GB, free: 47.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.5968, allocations: 1.184 MB / 0.5653 GB, free: 46.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5969, allocations: 41.7 kB / 0.5654 GB, free: 46.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.5973, allocations: 0.8646 MB / 0.5662 GB, free: 45.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.5976, allocations: 394.3 kB / 0.5666 GB, free: 45.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.5976, allocations: 31.94 kB / 0.5666 GB, free: 45.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.5977, allocations: 361.9 kB / 0.567 GB, free: 44.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/0.5987, allocations: 0.6779 MB / 0.5676 GB, free: 44.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.5997, allocations: 0.9852 MB / 0.5686 GB, free: 43.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.6017, allocations: 1.755 MB / 0.5703 GB, free: 41.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6017, allocations: 4 kB / 0.5703 GB, free: 41.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003657/0.6054, allocations: 2.42 MB / 0.5727 GB, free: 38.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6054, allocations: 8 kB / 0.5727 GB, free: 38.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6055, allocations: 15.98 kB / 0.5727 GB, free: 38.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.6069, allocations: 0.6375 MB / 0.5733 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.6079, allocations: 283.6 kB / 0.5736 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.6137, allocations: 6.331 MB / 0.5798 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.615, allocations: 95.97 kB / 0.5799 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6151, allocations: 51.98 kB / 0.5799 GB, free: 31.03 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 (134): * Single equations (assignments): 130 * 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.0009862/0.6161, allocations: 0.6027 MB / 0.5805 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.6163, allocations: 138.3 kB / 0.5806 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.6197, allocations: 2.275 MB / 0.5829 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6197, allocations: 12 kB / 0.5829 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.6197, allocations: 4 kB / 0.5829 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6197, allocations: 7.984 kB / 0.5829 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.626, allocations: 4.45 MB / 0.5872 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.626, allocations: 4 kB / 0.5872 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.6267, allocations: 184.1 kB / 0.5874 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.6283, allocations: 0.7095 MB / 0.5881 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.6284, allocations: 35.92 kB / 0.5881 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.6352, allocations: 8.073 MB / 0.596 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6353, allocations: 4 kB / 0.596 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.6398, allocations: 3.244 MB / 0.5992 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.6405, allocations: 359.3 kB / 0.5995 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.6407, allocations: 31.92 kB / 0.5996 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.6415, allocations: 87.91 kB / 0.5996 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.6417, allocations: 96.8 kB / 0.5997 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.6418, allocations: 35.98 kB / 0.5998 GB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.6428, allocations: 0.8149 MB / 0.6006 GB, free: 9.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6429, allocations: 0 / 0.6006 GB, free: 9.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00134/0.6442, allocations: 487.9 kB / 0.601 GB, free: 8.758 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (85): * Single equations (assignments): 81 * 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 {(5,76.0%) 23,(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.0004551/0.6447, allocations: 303.9 kB / 0.6013 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.6477, allocations: 2.306 MB / 0.6036 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6478, allocations: 0 / 0.6036 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.6498, allocations: 1.562 MB / 0.6051 GB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.6519, allocations: 363.9 kB / 0.6054 GB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.6576, allocations: 4.807 MB / 0.6101 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.6589, allocations: 1.646 MB / 0.6117 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6594, allocations: 99.41 kB / 0.6118 GB, free: 13.46 MB / 394.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6594, allocations: 0 / 0.6118 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Templates: time 0.06494/0.7244, allocations: 60.47 MB / 0.6709 GB, free: 0.9609 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches