Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009064/0.0009064, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009686/0.0009686, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9308/0.9308, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2748/0.2748, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.005e-05, allocations: 2.312 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008243/0.008263, allocations: 9.321 MB / 335.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.0152, allocations: 3.673 MB / 339 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.01638, allocations: 67.56 kB / 339.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.01805, allocations: 0.7228 MB / 339.8 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.02065, allocations: 0.9394 MB / 340.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.02167, allocations: 458.8 kB / 341.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.02452, allocations: 2.522 MB / 343.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.02588, allocations: 1.033 MB / 344.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.02878, allocations: 1.785 MB / 346.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.03035, allocations: 1.231 MB / 347.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.03077, allocations: 275.9 kB / 348 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006838/0.03146, allocations: 407.7 kB / 348.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.03248, allocations: 0.8101 MB / 349.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.03367, allocations: 0.8691 MB / 350.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.0362, allocations: 2.075 MB / 352.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.03621, allocations: 4 kB / 352.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03621, allocations: 0 / 352.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.322e-05/0.03628, allocations: 0 / 352.2 MB, free: 12.76 MB / 330.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.003734/0.04002, allocations: 2.482 MB / 354.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.04006, allocations: 8.031 kB / 354.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.04087, allocations: 356.6 kB / 355 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.04244, allocations: 0.9829 MB / 356 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.04255, allocations: 143.7 kB / 356.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.04305, allocations: 195.9 kB / 356.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.04505, allocations: 1.444 MB / 357.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.0451, allocations: 4 kB / 357.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.04524, allocations: 72 kB / 357.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.04534, allocations: 95.67 kB / 357.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.04649, allocations: 0.5484 MB / 358.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006735/0.05322, allocations: 4.76 MB / 363.2 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.05406, allocations: 0.5737 MB / 363.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.05475, allocations: 414.6 kB / 364.2 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.05489, allocations: 48.98 kB / 364.3 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/0.05542, allocations: 488.7 kB / 364.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.905e-06/0.05543, allocations: 0 / 364.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=121): time 0.006753/0.06218, allocations: 3.131 MB / 367.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.06225, allocations: 167.2 kB / 368 MB, free: 12.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009674/0.06322, allocations: 1.014 MB / 369 MB, free: 11.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.06329, allocations: 45.7 kB / 369.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.06377, allocations: 0.7878 MB / 369.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.06404, allocations: 436.2 kB / 370.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.06461, allocations: 239.4 kB / 370.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.06472, allocations: 365.8 kB / 370.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.065, allocations: 162.8 kB / 371.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.06549, allocations: 0.6046 MB / 371.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.06636, allocations: 0.7961 MB / 372.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.06637, allocations: 4 kB / 372.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001586/0.06795, allocations: 0.9797 MB / 373.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.06798, allocations: 12 kB / 373.5 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.06799, allocations: 11.94 kB / 373.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.06872, allocations: 286.4 kB / 373.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.06944, allocations: 263.6 kB / 374 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.07338, allocations: 4.76 MB / 378.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.07422, allocations: 51.98 kB / 378.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.07432, allocations: 51.98 kB / 378.9 MB, free: 0.9023 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0006566/0.07498, allocations: 196.4 kB / 379.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.07534, allocations: 131.8 kB / 379.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.07711, allocations: 0.8941 MB / 380.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.07712, allocations: 15.94 kB / 380.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.07714, allocations: 7.938 kB / 380.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.07715, allocations: 7.969 kB / 380.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.08165, allocations: 2.378 MB / 382.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.08166, allocations: 4 kB / 382.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.08228, allocations: 172.2 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.08335, allocations: 357.9 kB / 383 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.08345, allocations: 31.92 kB / 383 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.08765, allocations: 5.929 MB / 389 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.08765, allocations: 7.984 kB / 389 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.0892, allocations: 1.288 MB / 390.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.08954, allocations: 195 kB / 390.5 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.08966, allocations: 32 kB / 390.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.08999, allocations: 39.98 kB / 390.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.09014, allocations: 104.7 kB / 390.6 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.09019, allocations: 27.94 kB / 390.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004141/0.0906, allocations: 486.6 kB / 391.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0906, allocations: 0 / 391.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001384/0.09199, allocations: 443.9 kB / 391.6 MB, free: 3.59 MB / 362.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 (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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.09329, allocations: 0.5756 MB / 392.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.09457, allocations: 1.143 MB / 393.3 MB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/0.09459, allocations: 20.56 kB / 393.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.09543, allocations: 0.9497 MB / 394.2 MB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.09629, allocations: 372.3 kB / 394.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.1003, allocations: 3.406 MB / 398 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1006, allocations: 485.1 kB / 398.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.1011, allocations: 184 kB / 398.7 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/0.1019, allocations: 365.1 kB / 399 MB, free: 12.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1019, allocations: 0 / 399 MB, free: 12.15 MB / 378.7 MB Notification: Performance of Templates: time 0.03169/0.1336, allocations: 24.71 MB / 423.7 MB, free: 3.785 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.367599971126765]