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.001051/0.001051, allocations: 98.53 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.001127/0.001127, allocations: 177.3 kB / 15.94 MB, free: 228 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.909/1.909, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0005329/0.000533, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 47.58 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008286/0.2997, allocations: 7.111 MB / 333.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.3061, allocations: 2.782 MB / 336.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.3073, allocations: 39.81 kB / 336.4 MB, free: 9.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.3089, allocations: 0.5014 MB / 336.9 MB, free: 9.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.3109, allocations: 0.5919 MB / 337.5 MB, free: 8.441 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.3116, allocations: 211.7 kB / 337.7 MB, free: 8.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.3135, allocations: 1.458 MB / 339.1 MB, free: 6.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.315, allocations: 1.197 MB / 340.3 MB, free: 5.539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.316, allocations: 0.7006 MB / 341 MB, free: 4.836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3172, allocations: 0.9184 MB / 342 MB, free: 3.914 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.3175, allocations: 112 kB / 342.1 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.3179, allocations: 191.8 kB / 342.3 MB, free: 3.617 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.3185, allocations: 0.5414 MB / 342.8 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00041/0.3189, allocations: 432.6 kB / 343.2 MB, free: 2.645 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.3214, allocations: 2.797 MB / 346 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3214, allocations: 0 / 346 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3214, allocations: 0 / 346 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.993e-05/0.3214, allocations: 0 / 346 MB, free: 15.84 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.004237/0.3257, allocations: 2.123 MB / 348.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3257, allocations: 12.03 kB / 348.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.3264, allocations: 253.2 kB / 348.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3285, allocations: 1.188 MB / 349.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3287, allocations: 135.5 kB / 349.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.3289, allocations: 172 kB / 349.9 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.3329, allocations: 2.355 MB / 352.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.3329, allocations: 7.906 kB / 352.2 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.3331, allocations: 72 kB / 352.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.3332, allocations: 99.45 kB / 352.4 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.3367, allocations: 1.962 MB / 354.4 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.3507, allocations: 7.144 MB / 361.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3526, allocations: 1.276 MB / 362.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.3529, allocations: 126.1 kB / 362.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3529, allocations: 44.11 kB / 363 MB, free: 14.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.377e-06/0.353, allocations: 0 / 363 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.01471/0.3677, allocations: 6.976 MB / 369.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3678, allocations: 64.41 kB / 370 MB, free: 7.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3694, allocations: 1.16 MB / 371.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.3695, allocations: 45.64 kB / 371.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.3702, allocations: 0.8729 MB / 372.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.3705, allocations: 374.5 kB / 372.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.3705, allocations: 28 kB / 372.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3707, allocations: 349.9 kB / 372.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3717, allocations: 0.6662 MB / 373.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.373, allocations: 0.9579 MB / 374.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.3741, allocations: 0.8072 MB / 375.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3742, allocations: 4 kB / 375.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003903/0.3781, allocations: 2.349 MB / 377.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3781, allocations: 8 kB / 377.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.3781, allocations: 12 kB / 377.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.3796, allocations: 0.5929 MB / 378.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.3805, allocations: 271.6 kB / 378.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/0.3879, allocations: 6.409 MB / 384.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.389, allocations: 103.8 kB / 385 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.3891, allocations: 44.12 kB / 385 MB, free: 7.766 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.0012/0.3903, allocations: 0.6066 MB / 385.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.3906, allocations: 134.4 kB / 385.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.3942, allocations: 2.166 MB / 387.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3943, allocations: 12 kB / 387.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3943, allocations: 8 kB / 388 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.3943, allocations: 7.969 kB / 388 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/0.4014, allocations: 4.281 MB / 392.2 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4015, allocations: 4 kB / 392.2 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.4022, allocations: 171.7 kB / 392.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.4043, allocations: 0.6553 MB / 393.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.4045, allocations: 27.98 kB / 393.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.4145, allocations: 7.917 MB / 401 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4145, allocations: 4 kB / 401 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/0.42, allocations: 3.223 MB / 404.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.4209, allocations: 347.3 kB / 404.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.4211, allocations: 27.98 kB / 404.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/0.4218, allocations: 79.92 kB / 404.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.422, allocations: 96.77 kB / 404.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.649e-05/0.4221, allocations: 31.98 kB / 404.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4233, allocations: 0.7952 MB / 405.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4233, allocations: 0 / 405.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001442/0.4248, allocations: 428 kB / 406 MB, free: 2.098 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.0003154/0.4251, allocations: 147 kB / 406.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.4287, allocations: 2.229 MB / 408.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4287, allocations: 0 / 408.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.431, allocations: 1.491 MB / 409.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4324, allocations: 340.4 kB / 410.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.4389, allocations: 4.69 MB / 414.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.4404, allocations: 1.673 MB / 416.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009294/0.4413, allocations: 299.9 kB / 416.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4416, allocations: 95.42 kB / 417 MB, free: 6.91 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4416, allocations: 0 / 417 MB, free: 6.91 MB / 350.1 MB Notification: Performance of Templates: time 0.04096/0.4825, allocations: 21.44 MB / 438.4 MB, free: 1.438 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: