Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01235/0.01235, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.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.0005152/0.0005151, allocations: 8 kB / 279.5 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3784, allocations: 47.58 MB / 327 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0118/0.3903, allocations: 8.241 MB / 335.3 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009367/0.3997, allocations: 2.829 MB / 338.1 MB, free: 8.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.402, allocations: 35.81 kB / 338.1 MB, free: 8.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.4043, allocations: 0.518 MB / 338.7 MB, free: 7.742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.4077, allocations: 0.6372 MB / 339.3 MB, free: 7.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.4086, allocations: 291.7 kB / 339.6 MB, free: 6.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.412, allocations: 2.569 MB / 342.2 MB, free: 4.234 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.4141, allocations: 1.394 MB / 343.5 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.4155, allocations: 0.7817 MB / 344.3 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.4171, allocations: 1.109 MB / 345.4 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.4173, allocations: 120 kB / 345.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.4179, allocations: 219.8 kB / 345.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006036/0.4185, allocations: 0.5878 MB / 346.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.4196, allocations: 1.035 MB / 347.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.4225, allocations: 3.297 MB / 350.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4225, allocations: 7.938 kB / 350.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4225, allocations: 0 / 350.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.933e-05/0.4226, allocations: 0 / 350.7 MB, free: 11.61 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004217/0.4268, allocations: 2.115 MB / 352.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4269, allocations: 8.031 kB / 352.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006953/0.4276, allocations: 250.2 kB / 353.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.4296, allocations: 1.224 MB / 354.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4297, allocations: 131.9 kB / 354.4 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.43, allocations: 188.1 kB / 354.6 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.4344, allocations: 2.378 MB / 357 MB, free: 5.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.4345, allocations: 7.891 kB / 357 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.4347, allocations: 75.98 kB / 357.1 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.4348, allocations: 95.5 kB / 357.2 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.4384, allocations: 1.977 MB / 359.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.4504, allocations: 7.179 MB / 366.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.4523, allocations: 1.284 MB / 367.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.4539, allocations: 0.8775 MB / 368.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.4542, allocations: 130 kB / 368.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.4542, allocations: 39.56 kB / 368.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.088e-06/0.4542, allocations: 0 / 368.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01442/0.4687, allocations: 6.002 MB / 374.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.4688, allocations: 60.41 kB / 374.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.4711, allocations: 1.207 MB / 375.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4712, allocations: 45.7 kB / 375.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008062/0.472, allocations: 0.8651 MB / 376.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.4724, allocations: 370.7 kB / 377.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.4726, allocations: 101.7 kB / 377.3 MB, free: 420 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.4728, allocations: 357.9 kB / 377.6 MB, free: 56 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.474, allocations: 0.6233 MB / 378.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.4756, allocations: 0.9275 MB / 379.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.4787, allocations: 1.663 MB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4787, allocations: 4 kB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004711/0.4834, allocations: 2.243 MB / 383.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.4835, allocations: 8 kB / 383.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.4835, allocations: 19.88 kB / 383.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4847, allocations: 480.2 kB / 383.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.4858, allocations: 271.6 kB / 383.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/0.4931, allocations: 6.425 MB / 390.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4945, allocations: 91.97 kB / 390.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4947, allocations: 48 kB / 390.4 MB, free: 2.555 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.4961, allocations: 0.6027 MB / 391 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.4966, allocations: 138.3 kB / 391.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.5002, allocations: 2.04 MB / 393.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5002, allocations: 12 kB / 393.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5003, allocations: 7.984 kB / 393.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5003, allocations: 3.984 kB / 393.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/0.5073, allocations: 4.241 MB / 397.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5074, allocations: 4.062 kB / 397.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.5081, allocations: 191.6 kB / 397.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.5095, allocations: 0.5153 MB / 398.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/0.5096, allocations: 31.98 kB / 398.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.5172, allocations: 7.912 MB / 406.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5172, allocations: 4 kB / 406.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/0.5219, allocations: 2.978 MB / 409.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.5226, allocations: 347.3 kB / 409.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5228, allocations: 28 kB / 409.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.5235, allocations: 83.91 kB / 409.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.5238, allocations: 92.77 kB / 409.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.5239, allocations: 35.98 kB / 409.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.5251, allocations: 0.8343 MB / 410.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5251, allocations: 0 / 410.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00151/0.5266, allocations: 412.1 kB / 410.9 MB, free: 13.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,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.0004095/0.527, allocations: 183 kB / 411.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.5305, allocations: 2.175 MB / 413.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5305, allocations: 4 kB / 413.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.5326, allocations: 1.487 MB / 414.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.535, allocations: 372.5 kB / 415.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.5422, allocations: 4.895 MB / 420 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.5438, allocations: 1.634 MB / 421.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00124/0.545, allocations: 295.8 kB / 421.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.5453, allocations: 95.42 kB / 422 MB, free: 1.777 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5453, allocations: 0 / 422 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Templates: time 0.04082/0.5861, allocations: 21.07 MB / 443.1 MB, free: 12.68 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)