Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 108.8 kB / 17.06 MB, free: 5.824 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.001208/0.001208, allocations: 192 kB / 18 MB, free: 4.977 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.647/1.647, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001209/0.001209, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.2727/0.3902, allocations: 9.581 MB / 384.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.3973, allocations: 3.151 MB / 387.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.3993, allocations: 49.69 kB / 387.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.4015, allocations: 0.674 MB / 387.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.4049, allocations: 0.7586 MB / 388.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.4061, allocations: 404.3 kB / 389.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.4101, allocations: 2.558 MB / 391.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.4132, allocations: 2.286 MB / 393.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.4156, allocations: 1.177 MB / 395.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.4188, allocations: 1.498 MB / 396.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008064/0.4196, allocations: 317.8 kB / 396.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4209, allocations: 417.1 kB / 397.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.422, allocations: 0.8969 MB / 398.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.4238, allocations: 1.413 MB / 399.6 MB, free: 308 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.4302, allocations: 4.144 MB / 403.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4302, allocations: 4.891 kB / 403.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4303, allocations: 0 / 403.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.4304, allocations: 0 / 403.8 MB, free: 14.07 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00765/0.438, allocations: 2.911 MB / 406.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.4381, allocations: 13.42 kB / 406.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.4392, allocations: 287.4 kB / 407 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.4423, allocations: 1.448 MB / 408.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.4425, allocations: 157.1 kB / 408.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.4429, allocations: 222.1 kB / 408.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005238/0.4481, allocations: 2.795 MB / 411.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.4482, allocations: 4.812 kB / 411.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.4484, allocations: 86.75 kB / 411.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.4486, allocations: 102.4 kB / 411.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004678/0.4533, allocations: 2.346 MB / 414.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.4678, allocations: 8.503 MB / 422.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.4704, allocations: 1.699 MB / 424.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.4721, allocations: 0.9527 MB / 425.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.4724, allocations: 207.2 kB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.4725, allocations: 43.56 kB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 4.559e-06/0.4725, allocations: 7.984 kB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01411/0.4866, allocations: 6.11 MB / 431.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.4868, allocations: 65.25 kB / 431.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.4893, allocations: 1.437 MB / 433.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.4894, allocations: 45.7 kB / 433.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007812/0.4902, allocations: 1.037 MB / 434.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.4906, allocations: 406.1 kB / 434.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.491, allocations: 255.4 kB / 434.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4912, allocations: 369.9 kB / 435.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4924, allocations: 0.6793 MB / 435.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.4938, allocations: 1.07 MB / 437 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.4965, allocations: 1.867 MB / 438.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.4966, allocations: 4 kB / 438.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004475/0.5011, allocations: 2.402 MB / 441.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.5011, allocations: 12 kB / 441.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.5012, allocations: 16.25 kB / 441.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.5022, allocations: 415.1 kB / 441.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.5034, allocations: 335.5 kB / 442 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007117/0.5106, allocations: 7.039 MB / 449.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5122, allocations: 95.94 kB / 449.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5124, allocations: 63.98 kB / 449.2 MB, free: 3.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(3,11,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.001523/0.5139, allocations: 0.6892 MB / 449.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.5143, allocations: 158 kB / 450.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.5181, allocations: 2.115 MB / 452.2 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5181, allocations: 12 kB / 452.2 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.5181, allocations: 8 kB / 452.2 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5181, allocations: 7.922 kB / 452.2 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/0.5261, allocations: 4.568 MB / 456.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5261, allocations: 4.469 kB / 456.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/0.527, allocations: 215.7 kB / 457 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.5281, allocations: 442.9 kB / 457.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.5282, allocations: 35.98 kB / 457.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/0.5361, allocations: 8.622 MB / 466.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.5361, allocations: 15.88 kB / 466.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.5413, allocations: 3.103 MB / 469.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.5424, allocations: 383 kB / 469.6 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5427, allocations: 31.98 kB / 469.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.5436, allocations: 83.91 kB / 469.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.5439, allocations: 96.75 kB / 469.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.544, allocations: 39.98 kB / 469.8 MB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.546, allocations: 0.9848 MB / 470.8 MB, free: 12.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.546, allocations: 0 / 470.8 MB, free: 12.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00292/0.5489, allocations: 464.1 kB / 471.3 MB, free: 12.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,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.0005523/0.5495, allocations: 194.9 kB / 471.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.5536, allocations: 2.227 MB / 473.7 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5536, allocations: 0 / 473.7 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.5561, allocations: 1.442 MB / 475.1 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.5584, allocations: 419.1 kB / 475.5 MB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.5671, allocations: 4.451 MB / 480 MB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.569, allocations: 1.803 MB / 481.8 MB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.5704, allocations: 361.6 kB / 482.1 MB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.5708, allocations: 111.4 kB / 482.3 MB, free: 1.09 MB / 398.1 MB Notification: Performance of SimCode: time 1.123e-06/0.5708, allocations: 0 / 482.3 MB, free: 1.09 MB / 398.1 MB Notification: Performance of Templates: time 0.05358/0.6244, allocations: 24.79 MB / 0.4952 GB, free: 8.254 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)