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.01041/0.01041, allocations: 102.7 kB / 15.73 MB, free: 5.957 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.001238/0.001238, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.916/1.916, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001408/0.001409, allocations: 55.08 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1599, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01437/0.1744, allocations: 8.789 MB / 382 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00889/0.1834, allocations: 2.883 MB / 384.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.1863, allocations: 39.81 kB / 384.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.1891, allocations: 0.6329 MB / 385.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.1933, allocations: 0.734 MB / 386.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1946, allocations: 343.5 kB / 386.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.1991, allocations: 2.226 MB / 388.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.202, allocations: 1.702 MB / 390.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.2048, allocations: 1.02 MB / 391.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.2078, allocations: 1.277 MB / 392.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006632/0.2085, allocations: 268 kB / 393.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.2097, allocations: 359.8 kB / 393.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.2107, allocations: 0.7558 MB / 394.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.2125, allocations: 1.209 MB / 395.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.2181, allocations: 3.52 MB / 398.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.2181, allocations: 7.938 kB / 398.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.2182, allocations: 7.984 kB / 398.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001376/0.2183, allocations: 0 / 398.9 MB, free: 7.391 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.009219/0.2275, allocations: 2.477 MB / 401.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/0.2276, allocations: 15.89 kB / 401.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.2286, allocations: 246.2 kB / 401.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.2314, allocations: 1.228 MB / 402.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.2315, allocations: 135.9 kB / 403 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.2319, allocations: 184 kB / 403.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.2371, allocations: 2.374 MB / 405.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.2372, allocations: 7.844 kB / 405.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.2374, allocations: 75.98 kB / 405.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.2375, allocations: 95.5 kB / 405.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/0.2416, allocations: 1.966 MB / 407.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.2579, allocations: 7.046 MB / 414.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.2602, allocations: 1.276 MB / 416 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.2619, allocations: 0.8503 MB / 416.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.2623, allocations: 134 kB / 417 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.2623, allocations: 47.56 kB / 417.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 4.068e-06/0.2623, allocations: 0 / 417.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.0158/0.2782, allocations: 5.901 MB / 423 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2783, allocations: 60.41 kB / 423 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.2816, allocations: 1.215 MB / 424.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002983/0.282, allocations: 45.7 kB / 424.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.283, allocations: 0.869 MB / 425.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006191/0.2836, allocations: 362.7 kB / 425.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/0.2842, allocations: 222.8 kB / 425.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.2844, allocations: 357.9 kB / 426.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.2857, allocations: 0.6116 MB / 426.7 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.2873, allocations: 0.9234 MB / 427.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.29, allocations: 1.647 MB / 429.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.29, allocations: 4 kB / 429.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004699/0.2947, allocations: 2.215 MB / 431.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.2948, allocations: 12.23 kB / 431.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.2948, allocations: 16 kB / 431.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.2961, allocations: 475.9 kB / 432 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2972, allocations: 271.6 kB / 432.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.305, allocations: 7.017 MB / 439.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.3068, allocations: 83.91 kB / 439.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.3071, allocations: 48 kB / 439.4 MB, free: 13.57 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.001816/0.3089, allocations: 0.6028 MB / 440 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/0.3096, allocations: 138.2 kB / 440.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/0.3139, allocations: 2.016 MB / 442.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.314, allocations: 12 kB / 442.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/0.314, allocations: 7.984 kB / 442.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.314, allocations: 7.922 kB / 442.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009436/0.3235, allocations: 4.205 MB / 446.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.3236, allocations: 4.531 kB / 446.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.3245, allocations: 179.8 kB / 446.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.3261, allocations: 0.5231 MB / 447.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.3263, allocations: 31.98 kB / 447.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4002/0.7265, allocations: 8.606 MB / 455.7 MB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/0.7266, allocations: 9.188 kB / 455.7 MB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.7327, allocations: 2.946 MB / 458.7 MB, free: 67.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.734, allocations: 345.9 kB / 459 MB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.7342, allocations: 31.97 kB / 459 MB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.7351, allocations: 73.03 kB / 459.1 MB, free: 67.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.7355, allocations: 92.28 kB / 459.2 MB, free: 67.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7356, allocations: 37.42 kB / 459.2 MB, free: 67.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.7377, allocations: 0.8359 MB / 460.1 MB, free: 66.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7377, allocations: 0 / 460.1 MB, free: 66.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002023/0.7397, allocations: 405.7 kB / 460.5 MB, free: 66.66 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.0004667/0.7402, allocations: 186.8 kB / 460.7 MB, free: 66.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003982/0.7442, allocations: 2.166 MB / 462.8 MB, free: 65.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.7442, allocations: 1.188 kB / 462.8 MB, free: 65.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.7468, allocations: 1.47 MB / 464.3 MB, free: 64.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.7489, allocations: 386.4 kB / 464.7 MB, free: 64.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.7564, allocations: 3.92 MB / 468.6 MB, free: 62.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.7581, allocations: 1.635 MB / 470.2 MB, free: 61.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.7595, allocations: 302.5 kB / 470.5 MB, free: 61.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.7598, allocations: 98.12 kB / 470.6 MB, free: 61.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7598, allocations: 0 / 470.6 MB, free: 61.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03617/0.796, allocations: 22.65 MB / 493.3 MB, free: 43 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)