Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 97.56 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001024, allocations: 180.3 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01109/0.131, allocations: 8.84 MB / 337.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007842/0.1389, allocations: 3.321 MB / 341.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1409, allocations: 35.81 kB / 341.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.1436, allocations: 0.6529 MB / 341.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.1473, allocations: 0.7307 MB / 342.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.1492, allocations: 395.5 kB / 342.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0057/0.1549, allocations: 2.744 MB / 345.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.1585, allocations: 1.422 MB / 347.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.1615, allocations: 0.844 MB / 347.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.1652, allocations: 1.206 MB / 349.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.1665, allocations: 124 kB / 349.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.1686, allocations: 263.7 kB / 349.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.17, allocations: 0.6228 MB / 350.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003474/0.1735, allocations: 1.109 MB / 351.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.1793, allocations: 3.488 MB / 354.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1794, allocations: 4 kB / 354.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1794, allocations: 0 / 354.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.1796, allocations: 0 / 354.8 MB, free: 9.816 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00641/0.186, allocations: 2.266 MB / 357 MB, free: 7.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.186, allocations: 12.03 kB / 357 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.187, allocations: 273.9 kB / 357.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.1893, allocations: 1.295 MB / 358.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1894, allocations: 147.7 kB / 358.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.1897, allocations: 180 kB / 358.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.194, allocations: 2.44 MB / 361.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.1941, allocations: 7.906 kB / 361.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1943, allocations: 83.92 kB / 361.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.1944, allocations: 95.67 kB / 361.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.1978, allocations: 1.982 MB / 363.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.2095, allocations: 7.436 MB / 371 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.2114, allocations: 1.36 MB / 372.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.2129, allocations: 0.8783 MB / 373.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.2132, allocations: 122.1 kB / 373.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2143, allocations: 0.6875 MB / 374 MB, free: 6.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.716e-06/0.2143, allocations: 7.938 kB / 374 MB, free: 6.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2744/0.4887, allocations: 7.425 MB / 381.4 MB, free: 50.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4888, allocations: 198.4 kB / 381.6 MB, free: 50.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.4919, allocations: 1.414 MB / 383 MB, free: 50.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.4921, allocations: 50.27 kB / 383.1 MB, free: 50.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.4933, allocations: 0.9363 MB / 384 MB, free: 49.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/0.4939, allocations: 426.6 kB / 384.4 MB, free: 49.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.4941, allocations: 112.1 kB / 384.5 MB, free: 49.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4943, allocations: 361.3 kB / 384.9 MB, free: 49.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4956, allocations: 0.6388 MB / 385.5 MB, free: 48.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4972, allocations: 1.001 MB / 386.5 MB, free: 48.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.4997, allocations: 1.713 MB / 388.3 MB, free: 47.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4998, allocations: 3.375 kB / 388.3 MB, free: 47.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004537/0.5043, allocations: 2.338 MB / 390.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5043, allocations: 8.438 kB / 390.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.5044, allocations: 10.66 kB / 390.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.5057, allocations: 0.4884 MB / 391.1 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5068, allocations: 294.6 kB / 391.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.5128, allocations: 6.59 MB / 398 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5142, allocations: 87.67 kB / 398.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5143, allocations: 59.38 kB / 398.1 MB, free: 40.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.5155, allocations: 0.6377 MB / 398.8 MB, free: 40.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.5158, allocations: 152.2 kB / 398.9 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.5191, allocations: 2.149 MB / 401.1 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.5192, allocations: 11.81 kB / 401.1 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5192, allocations: 3.938 kB / 401.1 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5192, allocations: 7.406 kB / 401.1 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.5252, allocations: 4.563 MB / 405.6 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5253, allocations: 3.656 kB / 405.6 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.526, allocations: 190.9 kB / 405.8 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.5271, allocations: 0.5445 MB / 406.4 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.5272, allocations: 31.33 kB / 406.4 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.5328, allocations: 8.022 MB / 414.4 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5329, allocations: 4 kB / 414.4 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.537, allocations: 3.096 MB / 417.5 MB, free: 24.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.5381, allocations: 379 kB / 417.9 MB, free: 24.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5383, allocations: 31.98 kB / 417.9 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.5391, allocations: 71.94 kB / 418 MB, free: 24.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.5394, allocations: 100.7 kB / 418.1 MB, free: 24.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.5395, allocations: 35.98 kB / 418.1 MB, free: 24.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.5409, allocations: 0.9792 MB / 419.1 MB, free: 23.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5409, allocations: 0 / 419.1 MB, free: 23.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001892/0.5428, allocations: 450.6 kB / 419.6 MB, free: 22.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,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.001074/0.5439, allocations: 0.4982 MB / 420.1 MB, free: 22.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.5474, allocations: 2.242 MB / 422.3 MB, free: 20.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5475, allocations: 0 / 422.3 MB, free: 20.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.5494, allocations: 1.532 MB / 423.8 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.5522, allocations: 408.5 kB / 424.2 MB, free: 18.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.5589, allocations: 5.259 MB / 429.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.56, allocations: 1.702 MB / 431.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001107/0.5611, allocations: 329 kB / 431.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.5614, allocations: 107.4 kB / 431.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5614, allocations: 0 / 431.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Templates: time 0.0412/0.6026, allocations: 23.44 MB / 455.1 MB, free: 3.184 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_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_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches