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.0008941/0.0008942, allocations: 90.48 kB / 16.65 MB, free: 6.586 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.000937/0.0009373, allocations: 183.7 kB / 17.56 MB, free: 6.203 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.926/1.926, allocations: 205.4 MB / 223.8 MB, free: 13.06 MB / 190.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.0005197/0.0005197, allocations: 19.98 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01064/0.1428, allocations: 8.236 MB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008535/0.1514, allocations: 2.817 MB / 339.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.1542, allocations: 39.81 kB / 339.4 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.1576, allocations: 0.5285 MB / 340 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005159/0.1628, allocations: 0.6334 MB / 340.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1647, allocations: 299.6 kB / 340.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005395/0.1701, allocations: 2.569 MB / 343.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.1734, allocations: 1.39 MB / 344.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1759, allocations: 0.774 MB / 345.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.1789, allocations: 1.105 MB / 346.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00078/0.1797, allocations: 124 kB / 346.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.181, allocations: 223.8 kB / 347.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008034/0.1819, allocations: 0.5879 MB / 347.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.1836, allocations: 1.032 MB / 348.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.1878, allocations: 3.305 MB / 352 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1878, allocations: 0 / 352 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1879, allocations: 0 / 352 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.188, allocations: 0 / 352 MB, free: 11.94 MB / 302.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.005288/0.1933, allocations: 2.115 MB / 354.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1933, allocations: 8.031 kB / 354.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.1942, allocations: 250.2 kB / 354.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.1966, allocations: 1.227 MB / 355.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1967, allocations: 135.9 kB / 355.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.197, allocations: 184 kB / 355.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005127/0.2022, allocations: 2.378 MB / 358.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/0.2023, allocations: 11.88 kB / 358.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.2025, allocations: 72 kB / 358.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.2026, allocations: 91.5 kB / 358.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/0.2065, allocations: 1.981 MB / 360.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2189, allocations: 7.175 MB / 367.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.221, allocations: 1.288 MB / 368.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.2226, allocations: 0.8815 MB / 369.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.2229, allocations: 122.1 kB / 369.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.223, allocations: 39.56 kB / 369.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.717e-06/0.223, allocations: 0 / 369.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01607/0.2391, allocations: 6.002 MB / 375.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.2392, allocations: 64.41 kB / 376 MB, free: 3.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.2419, allocations: 1.207 MB / 377.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.242, allocations: 49.7 kB / 377.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008025/0.2429, allocations: 0.8652 MB / 378.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.2432, allocations: 366.7 kB / 378.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2434, allocations: 101.7 kB / 378.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.2436, allocations: 357.9 kB / 378.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2907/0.5344, allocations: 0.6173 MB / 379.5 MB, free: 51.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.5362, allocations: 0.9321 MB / 380.5 MB, free: 51.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.539, allocations: 1.663 MB / 382.1 MB, free: 50.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.539, allocations: 2.688 kB / 382.1 MB, free: 50.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004363/0.5434, allocations: 2.239 MB / 384.4 MB, free: 49.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.5435, allocations: 12.56 kB / 384.4 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.5435, allocations: 9.969 kB / 384.4 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.5449, allocations: 477.5 kB / 384.9 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.546, allocations: 275.2 kB / 385.1 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.5524, allocations: 6.431 MB / 391.6 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5543, allocations: 91.2 kB / 391.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5545, allocations: 51.27 kB / 391.7 MB, free: 44.44 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.001783/0.5563, allocations: 0.5973 MB / 392.3 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.5568, allocations: 138 kB / 392.4 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.5607, allocations: 2.035 MB / 394.5 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.5608, allocations: 9.094 kB / 394.5 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5608, allocations: 4.375 kB / 394.5 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5608, allocations: 8.484 kB / 394.5 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/0.5685, allocations: 4.244 MB / 398.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5685, allocations: 7.969 kB / 398.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.5692, allocations: 177.5 kB / 398.9 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.5705, allocations: 0.5272 MB / 399.4 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.5706, allocations: 31.42 kB / 399.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006861/0.5774, allocations: 7.918 MB / 407.4 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.5775, allocations: 7.812 kB / 407.4 MB, free: 34.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.5821, allocations: 2.967 MB / 410.4 MB, free: 31.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/0.5831, allocations: 351.2 kB / 410.7 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.5833, allocations: 31.98 kB / 410.7 MB, free: 31.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.584, allocations: 75.92 kB / 410.8 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.5843, allocations: 96.75 kB / 410.9 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.5844, allocations: 35.98 kB / 410.9 MB, free: 30.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.5856, allocations: 0.8304 MB / 411.8 MB, free: 30.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5856, allocations: 0 / 411.8 MB, free: 30.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001801/0.5874, allocations: 418.6 kB / 412.2 MB, free: 29.63 MB / 318.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.0005099/0.5879, allocations: 185.5 kB / 412.4 MB, free: 29.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003337/0.5913, allocations: 2.176 MB / 414.5 MB, free: 27.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.5913, allocations: 0 / 414.5 MB, free: 27.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.5932, allocations: 1.493 MB / 416 MB, free: 25.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.5958, allocations: 365.8 kB / 416.4 MB, free: 25.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/0.6028, allocations: 4.895 MB / 421.3 MB, free: 20.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6042, allocations: 1.632 MB / 422.9 MB, free: 18.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.6054, allocations: 295.8 kB / 423.2 MB, free: 18.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.6057, allocations: 95.42 kB / 423.3 MB, free: 18.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.874e-06/0.6057, allocations: 0 / 423.3 MB, free: 18.25 MB / 318.1 MB Notification: Performance of Templates: time 0.03874/0.6444, allocations: 21.08 MB / 444.4 MB, free: 13.17 MB / 334.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)