Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001328/0.001328, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001864/0.001864, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004916/0.0004918, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009419/0.2777, allocations: 7.763 MB / 334.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006683/0.2845, allocations: 2.706 MB / 337 MB, free: 8.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.2866, allocations: 35.81 kB / 337 MB, free: 8.961 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2889, allocations: 0.4893 MB / 337.5 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.2922, allocations: 0.5943 MB / 338.1 MB, free: 7.871 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2936, allocations: 215.6 kB / 338.3 MB, free: 7.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004965/0.2986, allocations: 2.303 MB / 340.6 MB, free: 5.344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.3011, allocations: 1.193 MB / 341.8 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.3033, allocations: 0.7743 MB / 342.6 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.3059, allocations: 1.066 MB / 343.6 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007087/0.3066, allocations: 116 kB / 343.7 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.308, allocations: 179.9 kB / 343.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.3093, allocations: 0.5841 MB / 344.5 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.3106, allocations: 436.6 kB / 344.9 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.3147, allocations: 2.836 MB / 347.8 MB, free: 14.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3147, allocations: 0 / 347.8 MB, free: 14.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3147, allocations: 4 kB / 347.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.3149, allocations: 0 / 347.8 MB, free: 14.11 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.005865/0.3207, allocations: 2.142 MB / 349.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3208, allocations: 8.031 kB / 349.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.322, allocations: 249.2 kB / 350.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.3244, allocations: 1.18 MB / 351.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3246, allocations: 131.6 kB / 351.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.3249, allocations: 180 kB / 351.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.3292, allocations: 2.374 MB / 354 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.3292, allocations: 3.906 kB / 354 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.3294, allocations: 72 kB / 354.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3295, allocations: 95.45 kB / 354.2 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.333, allocations: 1.97 MB / 356.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.3447, allocations: 7.176 MB / 363.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.3468, allocations: 1.276 MB / 364.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.3485, allocations: 0.8861 MB / 365.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.3488, allocations: 118.1 kB / 365.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3488, allocations: 47.5 kB / 365.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.126e-06/0.3488, allocations: 0 / 365.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01396/0.3628, allocations: 5.987 MB / 371.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3629, allocations: 64.41 kB / 371.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.3656, allocations: 1.211 MB / 372.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3657, allocations: 41.7 kB / 373 MB, free: 4.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/0.3666, allocations: 0.869 MB / 373.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.3671, allocations: 362.7 kB / 374.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.3672, allocations: 28 kB / 374.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.3675, allocations: 353.9 kB / 374.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.3688, allocations: 0.6155 MB / 375.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3704, allocations: 0.9314 MB / 376.1 MB, free: 1.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3719, allocations: 0.7525 MB / 376.8 MB, free: 284 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.372, allocations: 4 kB / 376.8 MB, free: 280 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004832/0.3768, allocations: 2.227 MB / 379.1 MB, free: 14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.3769, allocations: 12 kB / 379.1 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.3769, allocations: 8 kB / 379.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.3782, allocations: 480.1 kB / 379.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3794, allocations: 271.6 kB / 379.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.3899, allocations: 6.428 MB / 386.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.3919, allocations: 83.91 kB / 386.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.3923, allocations: 52.06 kB / 386.4 MB, free: 6.27 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.3942, allocations: 0.5949 MB / 387 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.3948, allocations: 138.4 kB / 387.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.4007, allocations: 2.035 MB / 389.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.4008, allocations: 12 kB / 389.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/0.4008, allocations: 8 kB / 389.2 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.4008, allocations: 7.969 kB / 389.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/0.4106, allocations: 4.229 MB / 393.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4107, allocations: 4 kB / 393.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.4115, allocations: 188.2 kB / 393.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.4128, allocations: 0.5193 MB / 394.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.413, allocations: 31.98 kB / 394.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008319/0.4213, allocations: 7.9 MB / 402.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.4213, allocations: 12 kB / 402.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.4267, allocations: 2.967 MB / 405 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4278, allocations: 347.3 kB / 405.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/0.4282, allocations: 31.94 kB / 405.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/0.4292, allocations: 75.92 kB / 405.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.4295, allocations: 96.77 kB / 405.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.4296, allocations: 35.98 kB / 405.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001848/0.4315, allocations: 0.8304 MB / 406.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4315, allocations: 0 / 406.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4336, allocations: 407.9 kB / 406.8 MB, free: 0.9531 MB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.434, allocations: 150.9 kB / 407 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.4381, allocations: 2.167 MB / 409.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.4381, allocations: 8.188 kB / 409.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/0.4409, allocations: 1.483 MB / 410.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.4441, allocations: 377 kB / 411 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4542, allocations: 4.681 MB / 415.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.4563, allocations: 1.63 MB / 417.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001355/0.4577, allocations: 295.8 kB / 417.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.4581, allocations: 95.42 kB / 417.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4581, allocations: 0 / 417.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.04244/0.5005, allocations: 20.49 MB / 438.2 MB, free: 1.277 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)