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.009502/0.009502, allocations: 101.7 kB / 15.73 MB, free: 5.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.001848/0.001848, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.953/1.953, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.00136/0.00136, allocations: 51.92 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.4132/0.5592, allocations: 8.792 MB / 382 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5697, allocations: 2.894 MB / 384.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003932/0.5737, allocations: 39.22 kB / 384.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.5776, allocations: 0.5989 MB / 385.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.5838, allocations: 0.6923 MB / 386.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.5864, allocations: 326.6 kB / 386.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006967/0.5934, allocations: 2.239 MB / 388.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004493/0.5979, allocations: 1.706 MB / 390.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.603, allocations: 1.007 MB / 391.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.6084, allocations: 1.281 MB / 392.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.6104, allocations: 268.4 kB / 393 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.6135, allocations: 358.5 kB / 393.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.6156, allocations: 0.7633 MB / 394.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00543/0.621, allocations: 1.208 MB / 395.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009849/0.6309, allocations: 3.523 MB / 398.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.631, allocations: 1.375 kB / 398.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.631, allocations: 0 / 398.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002569/0.6313, allocations: 4 kB / 398.9 MB, free: 0.5469 MB / 318.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.0137/0.645, allocations: 2.484 MB / 401.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.02e-05/0.6451, allocations: 12.77 kB / 401.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.6469, allocations: 253.5 kB / 401.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.6521, allocations: 1.226 MB / 402.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.6525, allocations: 134.9 kB / 403 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.6536, allocations: 188.9 kB / 403.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009828/0.6634, allocations: 2.371 MB / 405.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.6636, allocations: 6.562 kB / 405.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.6639, allocations: 75.59 kB / 405.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.6641, allocations: 92.44 kB / 405.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006162/0.6703, allocations: 1.964 MB / 407.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.6957, allocations: 7.055 MB / 414.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.6993, allocations: 1.276 MB / 416 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.7018, allocations: 0.8503 MB / 416.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.7023, allocations: 130 kB / 417 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.524e-05/0.7024, allocations: 44.03 kB / 417 MB, free: 3.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 8.125e-06/0.7024, allocations: 0 / 417 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.02021/0.7226, allocations: 5.901 MB / 422.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.7228, allocations: 65.44 kB / 423 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/0.7271, allocations: 1.215 MB / 424.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.7276, allocations: 41.7 kB / 424.2 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.7288, allocations: 0.869 MB / 425.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000856/0.7296, allocations: 366.7 kB / 425.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007263/0.7304, allocations: 222.8 kB / 425.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000273/0.7307, allocations: 353.9 kB / 426 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.7323, allocations: 0.6116 MB / 426.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.7342, allocations: 0.9158 MB / 427.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.7374, allocations: 1.647 MB / 429.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.7374, allocations: 4 kB / 429.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006196/0.7437, allocations: 2.223 MB / 431.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.7438, allocations: 11.28 kB / 431.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.7438, allocations: 12 kB / 431.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.7454, allocations: 485.1 kB / 431.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.7468, allocations: 271.6 kB / 432.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.7573, allocations: 7.014 MB / 439.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.7595, allocations: 83.91 kB / 439.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.7598, allocations: 44 kB / 439.3 MB, free: 12.14 MB / 366.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.00205/0.7618, allocations: 0.6028 MB / 439.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/0.7625, allocations: 138.2 kB / 440 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.7672, allocations: 2.024 MB / 442.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.7673, allocations: 11.98 kB / 442.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.7673, allocations: 4 kB / 442.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.7674, allocations: 3.984 kB / 442.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.7777, allocations: 4.208 MB / 446.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.7778, allocations: 4 kB / 446.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.7786, allocations: 184.2 kB / 446.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.7803, allocations: 0.5153 MB / 447 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.7805, allocations: 31.98 kB / 447 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.7907, allocations: 8.608 MB / 455.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.7908, allocations: 4.312 kB / 455.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/0.7967, allocations: 2.957 MB / 458.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.7982, allocations: 351.2 kB / 458.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/0.7985, allocations: 28 kB / 459 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.7995, allocations: 83.84 kB / 459 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.7999, allocations: 88.77 kB / 459.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.8, allocations: 39.98 kB / 459.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.8015, allocations: 0.8381 MB / 460 MB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8015, allocations: 0 / 460 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002476/0.804, allocations: 412 kB / 460.4 MB, free: 6.137 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.0006026/0.8046, allocations: 186.9 kB / 460.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.8088, allocations: 2.151 MB / 462.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.8088, allocations: 8 kB / 462.8 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.8116, allocations: 1.479 MB / 464.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.8146, allocations: 386.1 kB / 464.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/0.824, allocations: 3.91 MB / 468.5 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.8257, allocations: 1.634 MB / 470.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001622/0.8274, allocations: 287.8 kB / 470.4 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.8278, allocations: 107.4 kB / 470.5 MB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 3.447e-06/0.8278, allocations: 0 / 470.5 MB, free: 11.72 MB / 398.1 MB Notification: Performance of Templates: time 0.05599/0.8838, allocations: 22.63 MB / 493.2 MB, free: 5.051 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (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)