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.001161/0.001161, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001311/0.001312, allocations: 191.3 kB / 19.34 MB, free: 3.645 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.269/1.269, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001197/0.001197, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0719/0.07311, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1562/0.2293, allocations: 9.422 MB / 385.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005196/0.2345, allocations: 3.396 MB / 388.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2356, allocations: 42.16 kB / 388.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2372, allocations: 0.7264 MB / 389.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.2392, allocations: 0.8133 MB / 390.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.2402, allocations: 457.5 kB / 390.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.2424, allocations: 2.42 MB / 393.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.2441, allocations: 1.733 MB / 394.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.2455, allocations: 1.098 MB / 395.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.2472, allocations: 1.392 MB / 397.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.2477, allocations: 279.2 kB / 397.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000872/0.2485, allocations: 406 kB / 398 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007367/0.2493, allocations: 0.8044 MB / 398.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.2504, allocations: 1.28 MB / 400.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003646/0.254, allocations: 3.732 MB / 403.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2541, allocations: 1.188 kB / 403.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2541, allocations: 0 / 403.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.692e-05/0.2542, allocations: 0 / 403.8 MB, free: 14.97 MB / 334.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.005643/0.2598, allocations: 2.66 MB / 406.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2599, allocations: 9.094 kB / 406.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.2608, allocations: 263.3 kB / 406.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.2637, allocations: 1.318 MB / 408 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2638, allocations: 141.5 kB / 408.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.2642, allocations: 194.2 kB / 408.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.2687, allocations: 2.436 MB / 410.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.2688, allocations: 2.438 kB / 410.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.269, allocations: 80.34 kB / 410.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.2691, allocations: 95.45 kB / 411 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/0.2724, allocations: 1.986 MB / 413 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.2832, allocations: 7.32 MB / 420.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.285, allocations: 1.355 MB / 421.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.2865, allocations: 0.8676 MB / 422.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.2867, allocations: 126.1 kB / 422.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.2878, allocations: 0.6876 MB / 423.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.916e-06/0.2878, allocations: 0 / 423.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01519/0.303, allocations: 7.357 MB / 430.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.3031, allocations: 192.9 kB / 430.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.305, allocations: 1.414 MB / 432.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.3051, allocations: 45.7 kB / 432.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/0.3059, allocations: 0.9405 MB / 433.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.3062, allocations: 417.9 kB / 433.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.3066, allocations: 247.4 kB / 433.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3067, allocations: 361.9 kB / 434.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/0.3077, allocations: 0.6325 MB / 434.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3089, allocations: 1.003 MB / 435.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.3112, allocations: 1.708 MB / 437.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3112, allocations: 4 kB / 437.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003734/0.315, allocations: 2.336 MB / 440 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.315, allocations: 8 kB / 440 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.315, allocations: 8 kB / 440 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3161, allocations: 496.1 kB / 440.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.3172, allocations: 295.5 kB / 440.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.324, allocations: 7.182 MB / 447.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.3256, allocations: 95.75 kB / 448 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.3258, allocations: 59.92 kB / 448.1 MB, free: 5.953 MB / 366.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.001261/0.3271, allocations: 0.6295 MB / 448.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.3275, allocations: 154.1 kB / 448.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/0.3312, allocations: 2.147 MB / 451 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.3312, allocations: 3.984 kB / 451 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3312, allocations: 4 kB / 451 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009181/0.3322, allocations: 375 kB / 451.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.3324, allocations: 28 kB / 451.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.3332, allocations: 75.91 kB / 451.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.3334, allocations: 92.84 kB / 451.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004346/0.3378, allocations: 2.238 MB / 453.8 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003591/0.3414, allocations: 2.632 MB / 456.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009821/0.3424, allocations: 0.7182 MB / 457.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.3438, allocations: 0.9753 MB / 458.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.3438, allocations: 0 / 458.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004441/0.3483, allocations: 2.19 MB / 460.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of SimCode: time 0.006412/0.3547, allocations: 4.546 MB / 464.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of Templates: time 0.04446/0.3992, allocations: 27 MB / 491.9 MB, free: 9.852 MB / 414.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)