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.0009664/0.0009666, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001053/0.001053, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005229/0.0005235, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3931, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01348/0.4066, allocations: 7.762 MB / 334.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.4159, allocations: 2.71 MB / 337 MB, free: 9.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.419, allocations: 31.88 kB / 337 MB, free: 8.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.4218, allocations: 489.1 kB / 337.5 MB, free: 8.512 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.426, allocations: 0.6021 MB / 338.1 MB, free: 7.906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4276, allocations: 219.7 kB / 338.3 MB, free: 7.691 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004774/0.4324, allocations: 2.3 MB / 340.6 MB, free: 5.379 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.4352, allocations: 1.197 MB / 341.8 MB, free: 4.148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.4383, allocations: 0.7704 MB / 342.5 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.4418, allocations: 1.07 MB / 343.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006539/0.4425, allocations: 120 kB / 343.7 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.4437, allocations: 179.9 kB / 343.9 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008932/0.4447, allocations: 0.5841 MB / 344.5 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000953/0.4456, allocations: 432.6 kB / 344.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.4504, allocations: 2.832 MB / 347.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.4504, allocations: 0 / 347.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.773e-06/0.4505, allocations: 0 / 347.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001952/0.4507, allocations: 4 kB / 347.8 MB, free: 14.15 MB / 286.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.007826/0.4585, allocations: 2.142 MB / 349.9 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.07e-05/0.4586, allocations: 8.031 kB / 349.9 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.4603, allocations: 249.2 kB / 350.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.4636, allocations: 1.18 MB / 351.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.4638, allocations: 139.6 kB / 351.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/0.4643, allocations: 172 kB / 351.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/0.4707, allocations: 2.378 MB / 354 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.931e-05/0.4709, allocations: 11.89 kB / 354 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.4711, allocations: 68 kB / 354.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.4712, allocations: 99.45 kB / 354.2 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004825/0.4761, allocations: 1.962 MB / 356.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.4949, allocations: 7.176 MB / 363.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.4978, allocations: 1.277 MB / 364.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.4998, allocations: 0.8855 MB / 365.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.5002, allocations: 122.1 kB / 365.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/0.5003, allocations: 47.5 kB / 365.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.777e-06/0.5003, allocations: 0 / 365.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01592/0.5162, allocations: 5.994 MB / 371.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.5163, allocations: 60.41 kB / 371.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.5197, allocations: 1.211 MB / 372.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.5201, allocations: 41.7 kB / 373 MB, free: 4.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.5212, allocations: 0.8613 MB / 373.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/0.522, allocations: 370.7 kB / 374.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5221, allocations: 24 kB / 374.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5224, allocations: 353.9 kB / 374.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.5238, allocations: 0.6155 MB / 375.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.5255, allocations: 0.9275 MB / 376.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.5275, allocations: 0.7603 MB / 376.9 MB, free: 308 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.5275, allocations: 4 kB / 376.9 MB, free: 304 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005951/0.5335, allocations: 2.227 MB / 379.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.5336, allocations: 11.98 kB / 379.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.5337, allocations: 8 kB / 379.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.5351, allocations: 480.1 kB / 379.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.5364, allocations: 271.6 kB / 379.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/0.5463, allocations: 6.42 MB / 386.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.5485, allocations: 87.91 kB / 386.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/0.5489, allocations: 44 kB / 386.4 MB, free: 6.309 MB / 318.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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002599/0.5516, allocations: 0.6106 MB / 387 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/0.5523, allocations: 130.4 kB / 387.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.5574, allocations: 2.039 MB / 389.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/0.5575, allocations: 12 kB / 389.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-05/0.5575, allocations: 4 kB / 389.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.5576, allocations: 7.922 kB / 389.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5683, allocations: 4.225 MB / 393.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.5684, allocations: 4 kB / 393.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.5692, allocations: 188.2 kB / 393.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.5708, allocations: 0.5153 MB / 394.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.571, allocations: 35.97 kB / 394.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009632/0.5806, allocations: 7.909 MB / 402.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.5807, allocations: 8 kB / 402.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006505/0.5872, allocations: 2.967 MB / 405 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.5888, allocations: 351.2 kB / 405.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/0.5894, allocations: 31.98 kB / 405.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.5908, allocations: 79.92 kB / 405.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.5911, allocations: 92.77 kB / 405.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.5913, allocations: 36 kB / 405.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002111/0.5934, allocations: 0.8264 MB / 406.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5934, allocations: 0 / 406.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002709/0.5961, allocations: 407.9 kB / 406.8 MB, free: 0.9844 MB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005482/0.5967, allocations: 158.8 kB / 407 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005035/0.6017, allocations: 2.159 MB / 409.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.6018, allocations: 0 / 409.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.6048, allocations: 1.491 MB / 410.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/0.6085, allocations: 376.4 kB / 411 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.6206, allocations: 4.685 MB / 415.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.6232, allocations: 1.63 MB / 417.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001489/0.6247, allocations: 295.8 kB / 417.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.6253, allocations: 95.42 kB / 417.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 3.136e-06/0.6253, allocations: 0 / 417.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Templates: time 0.04974/0.6751, allocations: 20.49 MB / 438.2 MB, free: 1.301 MB / 366.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)