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.008596/0.008595, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001732/0.001733, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.887/1.887, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.001716/0.001717, allocations: 50.2 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1614, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01314/0.1746, allocations: 8.789 MB / 382 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.1832, allocations: 2.883 MB / 384.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.186, allocations: 39.81 kB / 384.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.1888, allocations: 0.5977 MB / 385.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.193, allocations: 0.7027 MB / 386.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1944, allocations: 323.5 kB / 386.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004406/0.1989, allocations: 2.237 MB / 388.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.2014, allocations: 1.703 MB / 390.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.204, allocations: 1.008 MB / 391.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.207, allocations: 1.284 MB / 392.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.2076, allocations: 268 kB / 393 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2087, allocations: 359.8 kB / 393.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009112/0.2096, allocations: 0.7558 MB / 394.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.2115, allocations: 1.209 MB / 395.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.2167, allocations: 3.542 MB / 398.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2168, allocations: 3.938 kB / 398.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2168, allocations: 0 / 398.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.2169, allocations: 4 kB / 398.9 MB, free: 7.457 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.008263/0.2252, allocations: 2.526 MB / 401.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.768e-05/0.2253, allocations: 11.89 kB / 401.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.2264, allocations: 267.4 kB / 401.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.2294, allocations: 1.24 MB / 402.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.2296, allocations: 131.9 kB / 403 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.2299, allocations: 188.1 kB / 403.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/0.2349, allocations: 2.374 MB / 405.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.2349, allocations: 0 / 405.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.2351, allocations: 72 kB / 405.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.2353, allocations: 99.5 kB / 405.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.239, allocations: 1.958 MB / 407.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.2521, allocations: 7.08 MB / 414.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.2543, allocations: 1.276 MB / 416.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.2559, allocations: 0.8581 MB / 416.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.2563, allocations: 122.1 kB / 417.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.2563, allocations: 47.56 kB / 417.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 4.248e-06/0.2564, allocations: 3.938 kB / 417.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01469/0.2711, allocations: 5.928 MB / 423 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.2712, allocations: 60.41 kB / 423.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.2736, allocations: 1.215 MB / 424.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.2738, allocations: 45.7 kB / 424.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008412/0.2746, allocations: 0.8831 MB / 425.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.275, allocations: 392.7 kB / 425.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/0.2755, allocations: 218.9 kB / 425.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2757, allocations: 357.9 kB / 426.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.2767, allocations: 0.6115 MB / 426.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2781, allocations: 0.9233 MB / 427.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.2808, allocations: 1.647 MB / 429.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2808, allocations: 4 kB / 429.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00441/0.2852, allocations: 2.228 MB / 431.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.2853, allocations: 8 kB / 431.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.2853, allocations: 12 kB / 431.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.2865, allocations: 476.2 kB / 432.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.2878, allocations: 275.6 kB / 432.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.2957, allocations: 7.018 MB / 439.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.2978, allocations: 83.91 kB / 439.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.298, allocations: 48 kB / 439.5 MB, free: 13.48 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.001894/0.2999, allocations: 0.599 MB / 440.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/0.3006, allocations: 147 kB / 440.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.3048, allocations: 2.016 MB / 442.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.3048, allocations: 19.94 kB / 442.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3048, allocations: 4 kB / 442.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.3049, allocations: 3.984 kB / 442.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/0.3131, allocations: 4.213 MB / 446.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.3131, allocations: 4 kB / 446.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.3139, allocations: 179.8 kB / 446.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.3154, allocations: 0.5197 MB / 447.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.3155, allocations: 31.98 kB / 447.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3463/0.6618, allocations: 8.613 MB / 455.8 MB, free: 68.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.6618, allocations: 9.625 kB / 455.9 MB, free: 68.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/0.6671, allocations: 2.954 MB / 458.8 MB, free: 67.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/0.668, allocations: 354.4 kB / 459.2 MB, free: 66.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.6682, allocations: 31.12 kB / 459.2 MB, free: 66.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.669, allocations: 72.11 kB / 459.3 MB, free: 66.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.6694, allocations: 93.31 kB / 459.3 MB, free: 66.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.6694, allocations: 35.8 kB / 459.4 MB, free: 66.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.6709, allocations: 0.8338 MB / 460.2 MB, free: 66.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.81e-07/0.6709, allocations: 0 / 460.2 MB, free: 66.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001866/0.6727, allocations: 412.5 kB / 460.6 MB, free: 66.53 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.0003784/0.6731, allocations: 191.4 kB / 460.8 MB, free: 66.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.6767, allocations: 2.157 MB / 463 MB, free: 65.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6768, allocations: 4.5 kB / 463 MB, free: 65.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.6791, allocations: 1.472 MB / 464.4 MB, free: 64.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.6813, allocations: 387.4 kB / 464.8 MB, free: 64.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/0.6877, allocations: 3.983 MB / 468.8 MB, free: 62.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.6889, allocations: 1.638 MB / 470.4 MB, free: 61.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009422/0.6898, allocations: 295.7 kB / 470.7 MB, free: 61.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.6901, allocations: 97.88 kB / 470.8 MB, free: 61.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6901, allocations: 0 / 470.8 MB, free: 61.42 MB / 382.1 MB Notification: Performance of Templates: time 0.03528/0.7254, allocations: 22.64 MB / 493.5 MB, free: 42.75 MB / 382.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)