Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, 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.529/1.529, 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.0009731/0.0009731, allocations: 94.45 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009963/0.0009965, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2308, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008318/0.2392, allocations: 9.451 MB / 416.5 MB, free: 18.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006606/0.2458, allocations: 3.606 MB / 420.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.2477, allocations: 43.81 kB / 420.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.25, allocations: 0.6568 MB / 420.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.2528, allocations: 0.7696 MB / 421.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.2548, allocations: 425.1 kB / 422 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.2587, allocations: 2.766 MB / 424.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.2608, allocations: 1.461 MB / 426.2 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2626, allocations: 0.9767 MB / 427.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.2646, allocations: 1.343 MB / 428.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006445/0.2652, allocations: 176 kB / 428.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2664, allocations: 323.8 kB / 429 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008961/0.2673, allocations: 0.7009 MB / 429.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.2691, allocations: 1.174 MB / 430.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.2716, allocations: 3.61 MB / 434.5 MB, free: 208 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2716, allocations: 0 / 434.5 MB, free: 208 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2717, allocations: 0 / 434.5 MB, free: 208 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.227e-05/0.2717, allocations: 3.938 kB / 434.5 MB, free: 204 kB / 298.7 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.004978/0.2767, allocations: 2.679 MB / 437.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2767, allocations: 8.031 kB / 437.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007435/0.2775, allocations: 293.9 kB / 437.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.2798, allocations: 1.35 MB / 438.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.2799, allocations: 139.7 kB / 439 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.2802, allocations: 191.9 kB / 439.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.2838, allocations: 2.44 MB / 441.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.2839, allocations: 7.938 kB / 441.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.284, allocations: 76 kB / 441.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/0.2841, allocations: 95.67 kB / 441.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.2873, allocations: 1.982 MB / 443.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.2981, allocations: 7.409 MB / 451.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.3, allocations: 1.353 MB / 452.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.3015, allocations: 0.9016 MB / 453.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.3017, allocations: 114.1 kB / 453.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009802/0.3027, allocations: 0.6789 MB / 454.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.986e-06/0.3027, allocations: 4 kB / 454.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.01505/0.3178, allocations: 7.322 MB / 461.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.3179, allocations: 179.2 kB / 461.7 MB, free: 4.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3198, allocations: 1.423 MB / 463.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.3199, allocations: 49.69 kB / 463.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.3206, allocations: 0.9366 MB / 464.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.321, allocations: 425.9 kB / 464.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.3213, allocations: 243.5 kB / 464.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3215, allocations: 353.9 kB / 465.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/0.3224, allocations: 0.6403 MB / 465.8 MB, free: 224 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3237, allocations: 1.005 MB / 466.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.3258, allocations: 1.707 MB / 468.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3258, allocations: 4 kB / 468.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003596/0.3294, allocations: 2.34 MB / 470.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3295, allocations: 14.81 kB / 470.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3295, allocations: 8 kB / 470.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3306, allocations: 492.2 kB / 471.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3317, allocations: 303.5 kB / 471.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.3379, allocations: 6.593 MB / 478.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.3394, allocations: 95.88 kB / 478.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3395, allocations: 55.98 kB / 478.4 MB, free: 2.891 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.001242/0.3407, allocations: 0.6306 MB / 479 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.341, allocations: 154.1 kB / 479.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.3445, allocations: 2.159 MB / 481.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3445, allocations: 12 kB / 481.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3445, allocations: 7.938 kB / 481.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3446, allocations: 11.97 kB / 481.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.3517, allocations: 4.475 MB / 485.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3518, allocations: 3.938 kB / 485.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.3525, allocations: 196.1 kB / 486 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.3539, allocations: 0.527 MB / 486.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.354, allocations: 31.98 kB / 486.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00749/0.3615, allocations: 8.025 MB / 494.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3615, allocations: 12 kB / 494.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.239/0.6006, allocations: 25.23 MB / 0.5076 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.6012, allocations: 371.9 kB / 0.508 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6014, allocations: 31.47 kB / 0.508 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.6022, allocations: 71.36 kB / 0.5081 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.6024, allocations: 96.7 kB / 0.5082 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.6025, allocations: 39.08 kB / 0.5082 GB, free: 84.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.6038, allocations: 0.9859 MB / 0.5092 GB, free: 84.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6038, allocations: 3.75 kB / 0.5092 GB, free: 84.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002011/0.6058, allocations: 0.6284 MB / 0.5098 GB, free: 84.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (104): * Single equations (assignments): 97 * 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.001087/0.6069, allocations: 488 kB / 0.5103 GB, free: 84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.6099, allocations: 2.257 MB / 0.5125 GB, free: 82.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6099, allocations: 0 / 0.5125 GB, free: 82.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.6118, allocations: 1.518 MB / 0.514 GB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.6136, allocations: 397 kB / 0.5143 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.621, allocations: 6.709 MB / 0.5209 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.6221, allocations: 1.764 MB / 0.5226 GB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001073/0.6232, allocations: 339 kB / 0.5229 GB, free: 76.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6235, allocations: 119.4 kB / 0.523 GB, free: 76.44 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6235, allocations: 0 / 0.523 GB, free: 76.44 MB / 378.7 MB Notification: Performance of Templates: time 0.03807/0.6616, allocations: 29.88 MB / 0.5522 GB, free: 47.5 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1)