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.007032/0.007032, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001265/0.001265, allocations: 188 kB / 16.67 MB, free: 5.977 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.896/1.896, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001379/0.001379, allocations: 62.72 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01085/0.1335, allocations: 8.789 MB / 382 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006781/0.1404, allocations: 2.887 MB / 384.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.143, allocations: 39.81 kB / 384.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.1459, allocations: 0.6017 MB / 385.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.1498, allocations: 0.6988 MB / 386.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1513, allocations: 327.6 kB / 386.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.1555, allocations: 2.233 MB / 388.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.1588, allocations: 1.714 MB / 390.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.1616, allocations: 1.005 MB / 391.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.1647, allocations: 1.281 MB / 392.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.1658, allocations: 268 kB / 393 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1677, allocations: 359.8 kB / 393.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1692, allocations: 0.7596 MB / 394.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.1716, allocations: 1.206 MB / 395.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.1759, allocations: 3.528 MB / 398.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.176, allocations: 4 kB / 398.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.176, allocations: 0 / 398.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.958e-05/0.1761, allocations: 0 / 398.9 MB, free: 7.484 MB / 334.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.006821/0.1829, allocations: 2.485 MB / 401.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.183, allocations: 15.89 kB / 401.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007817/0.1838, allocations: 246.2 kB / 401.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.1862, allocations: 1.22 MB / 402.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1863, allocations: 135.9 kB / 403 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.1866, allocations: 192 kB / 403.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/0.1905, allocations: 2.367 MB / 405.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/0.1906, allocations: 15.91 kB / 405.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.1908, allocations: 68 kB / 405.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.1909, allocations: 95.5 kB / 405.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.1942, allocations: 1.958 MB / 407.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.2062, allocations: 7.062 MB / 414.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2081, allocations: 1.269 MB / 416 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.2096, allocations: 0.8542 MB / 416.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.2099, allocations: 126.1 kB / 416.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.2099, allocations: 43.5 kB / 417 MB, free: 4.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.637e-06/0.21, allocations: 0 / 417 MB, free: 4.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01411/0.2241, allocations: 5.905 MB / 422.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.2242, allocations: 64.41 kB / 423 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.2263, allocations: 1.211 MB / 424.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.2265, allocations: 49.7 kB / 424.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/0.2271, allocations: 0.8651 MB / 425.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.2275, allocations: 366.8 kB / 425.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.2279, allocations: 218.8 kB / 425.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.2282, allocations: 357.9 kB / 426 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.2294, allocations: 0.6116 MB / 426.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.2308, allocations: 0.9312 MB / 427.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.2333, allocations: 1.636 MB / 429.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.2333, allocations: 0 / 429.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00435/0.2377, allocations: 2.223 MB / 431.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2378, allocations: 8.25 kB / 431.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.2378, allocations: 16 kB / 431.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.239, allocations: 483.8 kB / 431.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.2401, allocations: 267.6 kB / 432.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008616/0.2487, allocations: 7.021 MB / 439.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.2504, allocations: 79.86 kB / 439.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.2506, allocations: 51.98 kB / 439.3 MB, free: 13.67 MB / 382.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.001523/0.2521, allocations: 0.5989 MB / 439.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004789/0.2526, allocations: 134.3 kB / 440 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.2564, allocations: 2.024 MB / 442.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2565, allocations: 8 kB / 442.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.2565, allocations: 4 kB / 442.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2565, allocations: 7.922 kB / 442.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007783/0.2643, allocations: 4.213 MB / 446.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.2644, allocations: 4 kB / 446.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.2652, allocations: 184.2 kB / 446.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.2668, allocations: 0.5196 MB / 447 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.2669, allocations: 27.98 kB / 447 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.376/0.6428, allocations: 8.607 MB / 455.6 MB, free: 68.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/0.6429, allocations: 5.953 kB / 455.6 MB, free: 68.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/0.6499, allocations: 2.95 MB / 458.6 MB, free: 67.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6514, allocations: 344.9 kB / 458.9 MB, free: 67.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.6518, allocations: 26.17 kB / 459 MB, free: 67.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.6528, allocations: 75.41 kB / 459 MB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/0.6533, allocations: 92.7 kB / 459.1 MB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.6534, allocations: 36.03 kB / 459.2 MB, free: 67.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.6554, allocations: 0.8367 MB / 460 MB, free: 66.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6554, allocations: 1.312 kB / 460 MB, free: 66.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003651/0.6591, allocations: 405.8 kB / 460.4 MB, free: 66.64 MB / 382.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.0008801/0.66, allocations: 191.4 kB / 460.6 MB, free: 66.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005822/0.6659, allocations: 2.164 MB / 462.7 MB, free: 65.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.6659, allocations: 1.062 kB / 462.7 MB, free: 65.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.6693, allocations: 1.471 MB / 464.2 MB, free: 64.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.6726, allocations: 390.2 kB / 464.6 MB, free: 64.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.6845, allocations: 3.924 MB / 468.5 MB, free: 62.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.6862, allocations: 1.632 MB / 470.1 MB, free: 61.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.6874, allocations: 304 kB / 470.4 MB, free: 61.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.6877, allocations: 93.16 kB / 470.5 MB, free: 61.62 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6877, allocations: 0 / 470.5 MB, free: 61.62 MB / 382.1 MB Notification: Performance of Templates: time 0.04378/0.7315, allocations: 22.64 MB / 493.2 MB, free: 43.01 MB / 382.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)