Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001081/0.001081, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001347/0.001346, allocations: 179.6 kB / 17.21 MB, free: 6.324 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.716/1.716, allocations: 205.4 MB / 223.4 MB, free: 5.598 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.0004411/0.0004415, allocations: 10.81 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2837, allocations: 47.59 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008472/0.2922, allocations: 7.759 MB / 335.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.2973, allocations: 2.713 MB / 338.2 MB, free: 9.016 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.298, allocations: 35.88 kB / 338.2 MB, free: 8.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.2992, allocations: 497.1 kB / 338.7 MB, free: 8.492 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3004, allocations: 0.5943 MB / 339.3 MB, free: 7.895 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.3009, allocations: 211.7 kB / 339.5 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.3031, allocations: 2.3 MB / 341.8 MB, free: 5.375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3044, allocations: 1.201 MB / 343 MB, free: 4.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008204/0.3052, allocations: 0.7782 MB / 343.8 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.3064, allocations: 1.066 MB / 344.9 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.3066, allocations: 124 kB / 345 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.307, allocations: 179.9 kB / 345.2 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.3075, allocations: 0.5841 MB / 345.8 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.3079, allocations: 428.6 kB / 346.2 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.3101, allocations: 2.828 MB / 349 MB, free: 14.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3101, allocations: 4 kB / 349 MB, free: 14.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3101, allocations: 0 / 349 MB, free: 14.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.795e-05/0.3102, allocations: 4 kB / 349 MB, free: 14.14 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.00361/0.3138, allocations: 2.138 MB / 351.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3138, allocations: 12.03 kB / 351.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.3144, allocations: 249.2 kB / 351.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.3161, allocations: 1.184 MB / 352.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-05/0.3163, allocations: 131.6 kB / 352.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.3165, allocations: 176 kB / 352.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.3202, allocations: 2.37 MB / 355.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.3203, allocations: 7.906 kB / 355.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.3205, allocations: 72 kB / 355.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-05/0.3206, allocations: 95.45 kB / 355.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.3239, allocations: 1.97 MB / 357.4 MB, free: 5.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.3359, allocations: 7.172 MB / 364.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.3379, allocations: 1.288 MB / 365.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.3395, allocations: 0.8855 MB / 366.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.3397, allocations: 122 kB / 366.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3398, allocations: 39.56 kB / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.896e-06/0.3398, allocations: 0 / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01272/0.3525, allocations: 5.991 MB / 372.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3526, allocations: 64.41 kB / 373 MB, free: 5.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.3546, allocations: 1.203 MB / 374.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.3547, allocations: 45.7 kB / 374.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.3554, allocations: 0.8651 MB / 375.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.3558, allocations: 362.8 kB / 375.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.3558, allocations: 28 kB / 375.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.356, allocations: 353.9 kB / 375.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.357, allocations: 0.6116 MB / 376.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3583, allocations: 0.9314 MB / 377.3 MB, free: 1.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3596, allocations: 0.7564 MB / 378.1 MB, free: 308 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3596, allocations: 0 / 378.1 MB, free: 308 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003806/0.3634, allocations: 2.231 MB / 380.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3635, allocations: 8 kB / 380.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3635, allocations: 15.94 kB / 380.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3646, allocations: 480 kB / 380.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.3655, allocations: 279.6 kB / 381.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.3723, allocations: 6.425 MB / 387.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3734, allocations: 87.97 kB / 387.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3735, allocations: 52 kB / 387.7 MB, free: 6.285 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.001193/0.3747, allocations: 0.5988 MB / 388.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.3751, allocations: 130.4 kB / 388.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.3785, allocations: 2.039 MB / 390.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3785, allocations: 8 kB / 390.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3786, allocations: 4 kB / 390.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3786, allocations: 7.922 kB / 390.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/0.386, allocations: 4.229 MB / 394.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.3861, allocations: 4 kB / 394.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.3868, allocations: 188.2 kB / 394.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.3883, allocations: 0.5153 MB / 395.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.06e-05/0.3884, allocations: 31.98 kB / 395.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/0.3975, allocations: 7.904 MB / 403.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.3975, allocations: 11.94 kB / 403.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.4031, allocations: 2.963 MB / 406.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009637/0.4041, allocations: 347.3 kB / 406.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.4045, allocations: 35.98 kB / 406.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.4054, allocations: 79.92 kB / 406.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.4057, allocations: 96.77 kB / 406.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.4057, allocations: 32 kB / 406.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4073, allocations: 0.8225 MB / 407.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4073, allocations: 0 / 407.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001714/0.409, allocations: 415.9 kB / 408.1 MB, free: 0.9766 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.0003455/0.4094, allocations: 151.3 kB / 408.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.4128, allocations: 2.171 MB / 410.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4128, allocations: 4 kB / 410.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.4149, allocations: 1.484 MB / 411.9 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.4167, allocations: 368.5 kB / 412.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006412/0.4231, allocations: 4.692 MB / 416.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4244, allocations: 1.634 MB / 418.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008682/0.4253, allocations: 291.8 kB / 418.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4256, allocations: 95.42 kB / 419 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4256, allocations: 4 kB / 419 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.03471/0.4603, allocations: 20.49 MB / 439.5 MB, free: 1.293 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)