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.001101/0.0011, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001163/0.001163, allocations: 177.3 kB / 15.95 MB, free: 216 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.874/1.874, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0006078/0.0006079, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3648, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009836/0.3748, allocations: 7.111 MB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007577/0.3824, allocations: 2.78 MB / 336.3 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.3837, allocations: 35.81 kB / 336.4 MB, free: 9.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.3855, allocations: 0.5014 MB / 336.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.3876, allocations: 0.5958 MB / 337.5 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.3882, allocations: 211.6 kB / 337.7 MB, free: 8.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.3901, allocations: 1.45 MB / 339.1 MB, free: 6.805 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.3915, allocations: 1.197 MB / 340.3 MB, free: 5.574 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.3925, allocations: 0.7045 MB / 341 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.3938, allocations: 0.9184 MB / 342 MB, free: 3.945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.394, allocations: 116 kB / 342.1 MB, free: 3.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3945, allocations: 179.9 kB / 342.2 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.3951, allocations: 0.5492 MB / 342.8 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.3955, allocations: 436.6 kB / 343.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.398, allocations: 2.797 MB / 346 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3981, allocations: 0 / 346 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3981, allocations: 0 / 346 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.3981, allocations: 0 / 346 MB, free: 15.87 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.004349/0.4025, allocations: 2.123 MB / 348.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4025, allocations: 12.03 kB / 348.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.4032, allocations: 245.3 kB / 348.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.4054, allocations: 1.184 MB / 349.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4055, allocations: 131.6 kB / 349.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.4058, allocations: 192 kB / 349.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.4098, allocations: 2.347 MB / 352.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.4099, allocations: 7.906 kB / 352.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.4101, allocations: 68 kB / 352.3 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.4102, allocations: 99.45 kB / 352.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.4137, allocations: 1.97 MB / 354.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.4253, allocations: 7.137 MB / 361.5 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.4275, allocations: 1.284 MB / 362.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.4278, allocations: 118.1 kB / 362.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4279, allocations: 39.56 kB / 363 MB, free: 14.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 5.15e-06/0.4279, allocations: 480 / 363 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.01604/0.444, allocations: 6.984 MB / 369.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.4441, allocations: 64.41 kB / 370 MB, free: 7.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.446, allocations: 1.152 MB / 371.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.4461, allocations: 49.64 kB / 371.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.4468, allocations: 0.8768 MB / 372.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.4471, allocations: 374.5 kB / 372.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.4472, allocations: 24 kB / 372.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4474, allocations: 353.9 kB / 372.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4484, allocations: 0.6545 MB / 373.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.4498, allocations: 0.9658 MB / 374.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4511, allocations: 0.8033 MB / 375.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4511, allocations: 0 / 375.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004273/0.4553, allocations: 2.361 MB / 377.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.4554, allocations: 8 kB / 377.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.4554, allocations: 8 kB / 377.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.4569, allocations: 0.5889 MB / 378.2 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/0.4579, allocations: 271.6 kB / 378.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/0.4656, allocations: 6.421 MB / 384.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4672, allocations: 91.88 kB / 385 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4673, allocations: 51.98 kB / 385 MB, free: 7.797 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (130): * Single equations (assignments): 126 * 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: 2 * 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: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.4689, allocations: 0.6066 MB / 385.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.4692, allocations: 134.4 kB / 385.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.4731, allocations: 2.162 MB / 387.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4732, allocations: 12 kB / 387.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4732, allocations: 7.938 kB / 387.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4732, allocations: 7.969 kB / 388 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007635/0.4808, allocations: 4.285 MB / 392.2 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4809, allocations: 288 / 392.2 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/0.4817, allocations: 183.7 kB / 392.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.4834, allocations: 0.6474 MB / 393.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.4835, allocations: 27.98 kB / 393.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009103/0.4926, allocations: 7.921 MB / 401 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4926, allocations: 4 kB / 401 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.4982, allocations: 3.212 MB / 404.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4995, allocations: 351.3 kB / 404.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/0.4999, allocations: 24 kB / 404.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5009, allocations: 83.91 kB / 404.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.5012, allocations: 92.77 kB / 404.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.5013, allocations: 31.98 kB / 404.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001657/0.503, allocations: 0.7913 MB / 405.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.503, allocations: 4 kB / 405.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002067/0.5051, allocations: 432 kB / 406 MB, free: 2.133 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (83): * Single equations (assignments): 79 * 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: 3 * 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: 3 {(5,84.0%) 20,(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.0004538/0.5055, allocations: 143 kB / 406.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.5098, allocations: 2.229 MB / 408.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.5098, allocations: 4 kB / 408.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.5124, allocations: 1.495 MB / 409.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.5147, allocations: 344.6 kB / 410.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/0.5242, allocations: 4.682 MB / 414.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.5265, allocations: 1.681 MB / 416.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001247/0.5278, allocations: 291.8 kB / 416.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.5282, allocations: 91.42 kB / 417 MB, free: 6.953 MB / 350.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5282, allocations: 0 / 417 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Templates: time 0.04411/0.5723, allocations: 21.44 MB / 438.4 MB, free: 1.477 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: