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.008125/0.008125, allocations: 99.75 kB / 15.73 MB, free: 5.594 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.001421/0.001421, allocations: 195.1 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001532/0.001532, allocations: 51.92 kB / 326.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1568, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.3852/0.542, allocations: 8.796 MB / 382 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009709/0.5519, allocations: 2.891 MB / 384.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.5541, allocations: 39.53 kB / 384.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.5565, allocations: 0.6304 MB / 385.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.5599, allocations: 0.7299 MB / 386.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.5611, allocations: 322.8 kB / 386.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004266/0.5654, allocations: 2.239 MB / 388.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002967/0.5683, allocations: 1.706 MB / 390.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.571, allocations: 1.016 MB / 391.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.5739, allocations: 1.286 MB / 392.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006265/0.5745, allocations: 269.1 kB / 393.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5758, allocations: 355 kB / 393.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.577, allocations: 0.7621 MB / 394.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.5789, allocations: 1.205 MB / 395.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.5846, allocations: 3.529 MB / 398.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.5846, allocations: 0 / 398.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5846, allocations: 0 / 398.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.5848, allocations: 5.094 kB / 398.9 MB, free: 0.4961 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.008715/0.5935, allocations: 2.48 MB / 401.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.856e-05/0.5936, allocations: 13.67 kB / 401.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.5949, allocations: 253.7 kB / 401.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.5979, allocations: 1.226 MB / 402.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.5981, allocations: 132.5 kB / 403 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.5985, allocations: 185.9 kB / 403.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/0.6041, allocations: 2.372 MB / 405.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.6042, allocations: 10.36 kB / 405.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.6044, allocations: 75.41 kB / 405.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.6046, allocations: 92.42 kB / 405.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004722/0.6094, allocations: 1.96 MB / 407.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.6249, allocations: 7.06 MB / 414.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.6271, allocations: 1.276 MB / 416 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.6289, allocations: 0.858 MB / 416.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.6292, allocations: 122.1 kB / 417 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.6293, allocations: 51.5 kB / 417.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 4.098e-06/0.6293, allocations: 0 / 417.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01569/0.645, allocations: 5.897 MB / 423 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.6451, allocations: 60.41 kB / 423 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.6475, allocations: 1.215 MB / 424.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.6477, allocations: 41.7 kB / 424.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000722/0.6484, allocations: 0.869 MB / 425.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.6487, allocations: 366.7 kB / 425.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.6491, allocations: 218.8 kB / 425.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6493, allocations: 361.9 kB / 426.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.6503, allocations: 0.6116 MB / 426.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.6516, allocations: 0.9158 MB / 427.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.6542, allocations: 1.644 MB / 429.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6542, allocations: 4 kB / 429.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004312/0.6585, allocations: 2.223 MB / 431.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.6586, allocations: 8.938 kB / 431.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.6586, allocations: 8 kB / 431.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.6598, allocations: 485.2 kB / 432 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.6608, allocations: 275.6 kB / 432.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.6687, allocations: 7.017 MB / 439.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.6705, allocations: 79.91 kB / 439.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6706, allocations: 51.94 kB / 439.4 MB, free: 12.06 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.001559/0.6722, allocations: 0.6028 MB / 440 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/0.6726, allocations: 138.3 kB / 440.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.6765, allocations: 2.008 MB / 442.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.6765, allocations: 15.94 kB / 442.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6765, allocations: 4 kB / 442.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.6765, allocations: 11.97 kB / 442.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00841/0.685, allocations: 4.208 MB / 446.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.685, allocations: 4 kB / 446.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.6858, allocations: 184.2 kB / 446.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.6872, allocations: 0.5153 MB / 447.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/0.6873, allocations: 31.98 kB / 447.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/0.6968, allocations: 8.604 MB / 455.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6969, allocations: 4 kB / 455.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/0.7029, allocations: 2.957 MB / 458.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.7044, allocations: 351.2 kB / 459 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.7047, allocations: 28 kB / 459 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.7056, allocations: 79.86 kB / 459.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/0.7059, allocations: 92.69 kB / 459.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.706, allocations: 39.98 kB / 459.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.7077, allocations: 0.8304 MB / 460.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7077, allocations: 3.938 kB / 460.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002301/0.71, allocations: 412 kB / 460.5 MB, free: 6.066 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.0004452/0.7105, allocations: 194.9 kB / 460.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.7147, allocations: 2.151 MB / 462.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.7147, allocations: 4.125 kB / 462.8 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.7173, allocations: 1.479 MB / 464.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.7198, allocations: 385.7 kB / 464.7 MB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/0.728, allocations: 3.91 MB / 468.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.7297, allocations: 1.634 MB / 470.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.731, allocations: 291.8 kB / 470.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.7313, allocations: 99.42 kB / 470.6 MB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.235e-06/0.7313, allocations: 0 / 470.6 MB, free: 11.65 MB / 398.1 MB Notification: Performance of Templates: time 0.04669/0.778, allocations: 22.65 MB / 493.3 MB, free: 4.965 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)