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.001578/0.001578, allocations: 108.5 kB / 18.4 MB, free: 4.672 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.00181/0.00181, allocations: 190 kB / 19.34 MB, free: 3.742 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.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001236/0.001236, allocations: 55.91 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07314, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1548/0.228, allocations: 9.412 MB / 385.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.2334, allocations: 3.394 MB / 388.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000878/0.2343, allocations: 41.78 kB / 388.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2359, allocations: 0.7655 MB / 389.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.2376, allocations: 0.8431 MB / 390.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.2385, allocations: 459 kB / 390.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.2405, allocations: 2.42 MB / 393.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.2422, allocations: 1.739 MB / 394.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.2433, allocations: 1.099 MB / 396 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.2448, allocations: 1.384 MB / 397.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.2452, allocations: 279.7 kB / 397.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007616/0.246, allocations: 414 kB / 398.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006849/0.2467, allocations: 0.8004 MB / 398.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.2477, allocations: 1.275 MB / 400.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.2512, allocations: 3.748 MB / 403.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2512, allocations: 0 / 403.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2512, allocations: 1.188 kB / 403.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.852e-05/0.2513, allocations: 3.938 kB / 403.9 MB, free: 14.87 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.004906/0.2562, allocations: 2.723 MB / 406.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2562, allocations: 9.25 kB / 406.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.2569, allocations: 280.2 kB / 406.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.259, allocations: 1.325 MB / 408.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.2592, allocations: 135.3 kB / 408.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.2595, allocations: 198.6 kB / 408.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.2633, allocations: 2.436 MB / 411 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.2634, allocations: 7.266 kB / 411 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.2636, allocations: 71.81 kB / 411.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.2636, allocations: 96.86 kB / 411.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.2668, allocations: 1.99 MB / 413.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.2773, allocations: 7.329 MB / 420.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.2792, allocations: 1.362 MB / 421.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.2807, allocations: 0.8742 MB / 422.7 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.2809, allocations: 130 kB / 422.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.282, allocations: 0.6797 MB / 423.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.885e-06/0.282, allocations: 0 / 423.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01503/0.297, allocations: 7.408 MB / 430.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.2971, allocations: 192.9 kB / 431.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.2989, allocations: 1.411 MB / 432.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.299, allocations: 45.7 kB / 432.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/0.2998, allocations: 0.9622 MB / 433.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.3001, allocations: 448.3 kB / 434 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3005, allocations: 247.5 kB / 434.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3006, allocations: 353.9 kB / 434.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3016, allocations: 0.6364 MB / 435.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.3029, allocations: 1.007 MB / 436.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.3052, allocations: 1.708 MB / 437.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3053, allocations: 0 / 437.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00371/0.309, allocations: 2.344 MB / 440.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.309, allocations: 8 kB / 440.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.309, allocations: 8 kB / 440.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3102, allocations: 0.4884 MB / 440.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3113, allocations: 299.5 kB / 441.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/0.3181, allocations: 7.192 MB / 448.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.3191, allocations: 87.91 kB / 448.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3192, allocations: 55.94 kB / 448.4 MB, free: 5.625 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.0009183/0.3202, allocations: 0.638 MB / 449 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.3204, allocations: 166.9 kB / 449.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.324, allocations: 2.135 MB / 451.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.324, allocations: 11.98 kB / 451.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3241, allocations: 3.938 kB / 451.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.3246, allocations: 375.9 kB / 451.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.3249, allocations: 24 kB / 451.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/0.3256, allocations: 75.91 kB / 451.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.3258, allocations: 96.84 kB / 451.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004263/0.3301, allocations: 2.238 MB / 454.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003571/0.3337, allocations: 2.649 MB / 456.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000966/0.3346, allocations: 0.7104 MB / 457.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.336, allocations: 0.9792 MB / 458.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.336, allocations: 0 / 458.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004319/0.3403, allocations: 2.189 MB / 460.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of SimCode: time 0.006359/0.3467, allocations: 4.629 MB / 465.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of Templates: time 0.04122/0.3879, allocations: 26.46 MB / 491.8 MB, free: 9.945 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)