Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 108.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009394/0.0009394, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2312, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01148/0.2427, allocations: 8.811 MB / 415.9 MB, free: 18.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006337/0.2491, allocations: 2.854 MB / 418.7 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.2507, allocations: 43.81 kB / 418.8 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.2526, allocations: 0.5361 MB / 419.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.2553, allocations: 0.6373 MB / 419.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.2562, allocations: 292.5 kB / 420.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.2588, allocations: 2.592 MB / 422.8 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.2606, allocations: 1.433 MB / 424.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.2619, allocations: 0.9028 MB / 425.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.2634, allocations: 1.238 MB / 426.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.2638, allocations: 168 kB / 426.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.2645, allocations: 279.8 kB / 426.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006324/0.2651, allocations: 0.6504 MB / 427.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.2662, allocations: 1.108 MB / 428.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.269, allocations: 3.407 MB / 432 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.269, allocations: 0 / 432 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2691, allocations: 0 / 432 MB, free: 2.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.92e-05/0.2691, allocations: 0 / 432 MB, free: 2.754 MB / 298.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.006564/0.2757, allocations: 2.493 MB / 434.5 MB, free: 208 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.2758, allocations: 12.03 kB / 434.5 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2769, allocations: 246.4 kB / 434.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.2803, allocations: 1.263 MB / 436 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2804, allocations: 131.9 kB / 436.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/0.2808, allocations: 191.8 kB / 436.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.2866, allocations: 2.367 MB / 438.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.2867, allocations: 15.89 kB / 438.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.2869, allocations: 72 kB / 438.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.2871, allocations: 87.52 kB / 438.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004898/0.292, allocations: 1.969 MB / 440.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3075, allocations: 7.16 MB / 448 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.3101, allocations: 1.269 MB / 449.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.3123, allocations: 0.8665 MB / 450.1 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.3126, allocations: 130 kB / 450.2 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.3126, allocations: 43.5 kB / 450.3 MB, free: 20 kB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.426e-06/0.3127, allocations: 0 / 450.3 MB, free: 20 kB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.0188/0.3315, allocations: 6.098 MB / 456.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3316, allocations: 60.41 kB / 456.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.334, allocations: 1.223 MB / 457.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.3342, allocations: 41.7 kB / 457.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008632/0.335, allocations: 0.8651 MB / 458.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.3355, allocations: 366.8 kB / 458.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.336, allocations: 218.8 kB / 459.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3362, allocations: 353.9 kB / 459.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3377, allocations: 0.6233 MB / 460.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.3394, allocations: 0.9186 MB / 461 MB, free: 4.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.3427, allocations: 1.643 MB / 462.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3427, allocations: 4 kB / 462.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005289/0.348, allocations: 2.223 MB / 464.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.348, allocations: 8.25 kB / 464.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3481, allocations: 12 kB / 464.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.3496, allocations: 475.9 kB / 465.4 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.351, allocations: 267.6 kB / 465.6 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.3597, allocations: 6.427 MB / 472.1 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.3613, allocations: 83.98 kB / 472.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3614, allocations: 48.14 kB / 472.2 MB, free: 9.176 MB / 346.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.3629, allocations: 0.6085 MB / 472.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.3633, allocations: 142.2 kB / 473 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/0.3684, allocations: 2.028 MB / 475 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3685, allocations: 12 kB / 475 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.3685, allocations: 4 kB / 475 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.3685, allocations: 11.92 kB / 475 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.3787, allocations: 4.224 MB / 479.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.3787, allocations: 4 kB / 479.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.3798, allocations: 188.2 kB / 479.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.3817, allocations: 0.5114 MB / 479.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.3819, allocations: 31.98 kB / 480 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.3923, allocations: 7.923 MB / 487.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3923, allocations: 4 kB / 487.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2383/0.6306, allocations: 24.15 MB / 0.5 GB, free: 89.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/0.6315, allocations: 342.6 kB / 0.5004 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.6317, allocations: 31.64 kB / 0.5004 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.6325, allocations: 71.95 kB / 0.5005 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.6328, allocations: 94.02 kB / 0.5006 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.6329, allocations: 35.05 kB / 0.5006 GB, free: 89.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001279/0.6342, allocations: 0.8342 MB / 0.5014 GB, free: 89.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6342, allocations: 3.969 kB / 0.5014 GB, free: 89.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001939/0.6361, allocations: 0.5717 MB / 0.502 GB, free: 89.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003612/0.6365, allocations: 183.5 kB / 0.5021 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.6396, allocations: 2.148 MB / 0.5042 GB, free: 88.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6397, allocations: 0 / 0.5042 GB, free: 88.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.6416, allocations: 1.479 MB / 0.5057 GB, free: 88.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6434, allocations: 366.1 kB / 0.506 GB, free: 88.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.6509, allocations: 6.234 MB / 0.5121 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.6519, allocations: 1.672 MB / 0.5138 GB, free: 83.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009704/0.6529, allocations: 315 kB / 0.5141 GB, free: 83.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.6532, allocations: 104.1 kB / 0.5142 GB, free: 83.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6532, allocations: 0 / 0.5142 GB, free: 83.82 MB / 378.7 MB Notification: Performance of Templates: time 0.03361/0.6868, allocations: 27.08 MB / 0.5406 GB, free: 59.77 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches