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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 91.67 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007859/0.000786, allocations: 47.92 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1914, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.008649/0.2001, allocations: 9.365 MB / 383.2 MB, free: 38.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.2051, allocations: 3.354 MB / 386.5 MB, free: 35.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.2064, allocations: 39.03 kB / 386.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.2081, allocations: 0.6568 MB / 387.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.2101, allocations: 0.7284 MB / 388 MB, free: 34.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.211, allocations: 414.2 kB / 388.4 MB, free: 34.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.2129, allocations: 2.765 MB / 391.1 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.214, allocations: 1.434 MB / 392.6 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.2147, allocations: 0.9651 MB / 393.5 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.2157, allocations: 1.335 MB / 394.9 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.2159, allocations: 180 kB / 395 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.2165, allocations: 311.8 kB / 395.4 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.2169, allocations: 0.697 MB / 396.1 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006939/0.2176, allocations: 1.17 MB / 397.2 MB, free: 26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.2194, allocations: 3.602 MB / 400.8 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2194, allocations: 4 kB / 400.8 MB, free: 22.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2194, allocations: 0 / 400.8 MB, free: 22.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.2194, allocations: 0 / 400.8 MB, free: 22.38 MB / 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.003618/0.223, allocations: 2.667 MB / 403.5 MB, free: 19.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2231, allocations: 8.031 kB / 403.5 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.2236, allocations: 269.9 kB / 403.8 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.2252, allocations: 1.303 MB / 405.1 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.2253, allocations: 143.7 kB / 405.2 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.2255, allocations: 191.9 kB / 405.4 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.2283, allocations: 2.436 MB / 407.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.2283, allocations: 4 kB / 407.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.2285, allocations: 80 kB / 407.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.972e-05/0.2286, allocations: 99.67 kB / 408 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.231, allocations: 1.978 MB / 410 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/0.2387, allocations: 7.401 MB / 417.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.24, allocations: 1.35 MB / 418.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.2411, allocations: 0.886 MB / 419.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.2413, allocations: 130.1 kB / 419.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/0.2421, allocations: 0.6914 MB / 420.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.495e-06/0.2421, allocations: 0 / 420.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01297/0.2551, allocations: 7.343 MB / 427.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.2552, allocations: 204.9 kB / 428 MB, free: 10.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.2571, allocations: 1.414 MB / 429.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/0.2571, allocations: 45.7 kB / 429.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000746/0.2579, allocations: 0.9366 MB / 430.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.2583, allocations: 425.8 kB / 430.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.2587, allocations: 247.4 kB / 431 MB, free: 7.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2589, allocations: 361.9 kB / 431.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.26, allocations: 0.6364 MB / 432 MB, free: 6.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.2614, allocations: 0.999 MB / 433 MB, free: 5.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.264, allocations: 1.704 MB / 434.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.264, allocations: 4 kB / 434.7 MB, free: 3.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005876/0.2699, allocations: 2.347 MB / 437.1 MB, free: 1.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2699, allocations: 8 kB / 437.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2699, allocations: 8 kB / 437.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.271, allocations: 496 kB / 437.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.272, allocations: 287.6 kB / 437.9 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.2778, allocations: 6.587 MB / 444.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.2788, allocations: 95.81 kB / 444.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.2789, allocations: 48 kB / 444.6 MB, free: 9.156 MB / 330.7 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.0008679/0.2798, allocations: 0.6379 MB / 445.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.28, allocations: 154.1 kB / 445.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.2832, allocations: 2.135 MB / 447.5 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2833, allocations: 12 kB / 447.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2833, allocations: 8 kB / 447.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2833, allocations: 3.984 kB / 447.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/0.2897, allocations: 4.57 MB / 452.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.2897, allocations: 7.938 kB / 452.1 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.2904, allocations: 199.7 kB / 452.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.2922, allocations: 0.5233 MB / 452.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.2924, allocations: 35.98 kB / 452.9 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00896/0.3013, allocations: 8.009 MB / 460.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3014, allocations: 4.031 kB / 460.9 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03304/0.3344, allocations: 25.24 MB / 486.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.3351, allocations: 371.2 kB / 486.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3353, allocations: 36 kB / 486.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/0.3361, allocations: 71.92 kB / 486.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.3363, allocations: 100.7 kB / 486.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.3364, allocations: 36 kB / 486.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.3377, allocations: 0.9831 MB / 487.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.043e-06/0.3377, allocations: 0 / 487.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001855/0.3395, allocations: 0.6288 MB / 488.3 MB, free: 11.71 MB / 378.7 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.0009919/0.3405, allocations: 497.9 kB / 488.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.3437, allocations: 2.247 MB / 491.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3437, allocations: 0 / 491.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.3457, allocations: 1.523 MB / 492.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.3474, allocations: 398.3 kB / 493 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007978/0.3554, allocations: 6.71 MB / 499.7 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.3567, allocations: 1.758 MB / 0.4897 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009298/0.3577, allocations: 345 kB / 0.49 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.358, allocations: 119.4 kB / 0.4901 GB, free: 13.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.535e-06/0.358, allocations: 0 / 0.4901 GB, free: 13.8 MB / 394.7 MB Notification: Performance of Templates: time 0.1649/0.5229, allocations: 29.78 MB / 0.5192 GB, free: 115.8 MB / 394.7 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)