Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007423/0.007423, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001989/0.00199, allocations: 193.2 kB / 16.67 MB, free: 5.52 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.799/1.799, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001476/0.001477, allocations: 51.94 kB / 326.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.3347/0.4563, allocations: 9.419 MB / 382.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.4672, allocations: 3.396 MB / 386 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.471, allocations: 42.19 kB / 386 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.4746, allocations: 0.7269 MB / 386.8 MB, free: 6.004 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005406/0.48, allocations: 0.8163 MB / 387.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.4822, allocations: 452.9 kB / 388 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005645/0.4879, allocations: 2.415 MB / 390.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.491, allocations: 1.735 MB / 392.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.4942, allocations: 1.091 MB / 393.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.4974, allocations: 1.387 MB / 394.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005844/0.498, allocations: 280.1 kB / 394.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4995, allocations: 409.6 kB / 395.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.5007, allocations: 0.8043 MB / 396.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.5026, allocations: 1.275 MB / 397.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006955/0.5095, allocations: 3.731 MB / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5096, allocations: 0 / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5096, allocations: 0.9688 kB / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.5097, allocations: 0 / 401.1 MB, free: 14.96 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.008972/0.5187, allocations: 2.663 MB / 403.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.85e-05/0.5188, allocations: 14.23 kB / 403.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.5201, allocations: 270.7 kB / 404.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.5234, allocations: 1.316 MB / 405.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.5236, allocations: 139.5 kB / 405.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.5239, allocations: 195.7 kB / 405.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.5296, allocations: 2.435 MB / 408.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.048e-05/0.5297, allocations: 2.406 kB / 408.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.5299, allocations: 72.56 kB / 408.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.5301, allocations: 103.5 kB / 408.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/0.5343, allocations: 1.985 MB / 410.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.5487, allocations: 7.317 MB / 417.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.5508, allocations: 1.347 MB / 419 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.5525, allocations: 0.8715 MB / 419.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.5528, allocations: 126.1 kB / 420 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.5539, allocations: 0.6798 MB / 420.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.247e-06/0.5539, allocations: 0 / 420.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01831/0.5723, allocations: 7.361 MB / 428 MB, free: 8.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.5725, allocations: 196.9 kB / 428.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.5752, allocations: 1.418 MB / 429.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.5753, allocations: 45.7 kB / 429.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.5766, allocations: 0.9327 MB / 430.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/0.577, allocations: 422 kB / 431 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/0.5775, allocations: 247.4 kB / 431.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5777, allocations: 353.9 kB / 431.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.5788, allocations: 0.6364 MB / 432.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.5802, allocations: 1.011 MB / 433.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.5826, allocations: 1.704 MB / 434.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5826, allocations: 0 / 434.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004389/0.587, allocations: 2.336 MB / 437.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.5871, allocations: 8.25 kB / 437.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5871, allocations: 12 kB / 437.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5884, allocations: 495.9 kB / 437.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5896, allocations: 291.5 kB / 438.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.5974, allocations: 7.19 MB / 445.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.5997, allocations: 91.84 kB / 445.3 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.5999, allocations: 52 kB / 445.4 MB, free: 5.949 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.001822/0.6017, allocations: 0.6411 MB / 446 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005047/0.6022, allocations: 154.1 kB / 446.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.6064, allocations: 2.147 MB / 448.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.6065, allocations: 15.98 kB / 448.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.6065, allocations: 8 kB / 448.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.6065, allocations: 7.922 kB / 448.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.6155, allocations: 4.536 MB / 452.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6156, allocations: 4 kB / 452.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/0.6164, allocations: 187.8 kB / 453.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.6179, allocations: 0.5313 MB / 453.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.618, allocations: 43.97 kB / 453.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009003/0.627, allocations: 8.703 MB / 462.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.6271, allocations: 11.92 kB / 462.4 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/0.6331, allocations: 3.099 MB / 465.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.6346, allocations: 371.1 kB / 465.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.6348, allocations: 31.94 kB / 465.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.6357, allocations: 75.92 kB / 465.9 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.636, allocations: 96.75 kB / 466 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.6361, allocations: 39.98 kB / 466.1 MB, free: 392 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.6379, allocations: 0.9831 MB / 467.1 MB, free: 15.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6379, allocations: 0 / 467.1 MB, free: 15.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002449/0.6404, allocations: 444 kB / 467.5 MB, free: 14.96 MB / 398.1 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.001609/0.642, allocations: 0.4964 MB / 468 MB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.6464, allocations: 2.252 MB / 470.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.6464, allocations: 0 / 470.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.6492, allocations: 1.526 MB / 471.8 MB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.6522, allocations: 424.3 kB / 472.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009364/0.6616, allocations: 4.23 MB / 476.4 MB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.6635, allocations: 1.705 MB / 478.1 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001358/0.6649, allocations: 325 kB / 478.4 MB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.6652, allocations: 115.4 kB / 478.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6652, allocations: 0 / 478.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of Templates: time 0.05222/0.7174, allocations: 25.05 MB / 0.4918 GB, free: 10.54 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)