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.001729/0.001729, allocations: 104.8 kB / 17.05 MB, free: 6.027 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.002031/0.002032, allocations: 196 kB / 18 MB, free: 5.105 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.78/1.78, 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.001497/0.001497, allocations: 55.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.2841/0.4045, allocations: 9.576 MB / 384.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.4116, allocations: 3.162 MB / 387.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.4138, allocations: 49.09 kB / 387.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.416, allocations: 0.6718 MB / 388 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.4195, allocations: 0.7589 MB / 388.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.4208, allocations: 400.4 kB / 389.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.4245, allocations: 2.557 MB / 391.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.4273, allocations: 2.293 MB / 394 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.43, allocations: 1.178 MB / 395.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003606/0.4336, allocations: 1.49 MB / 396.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.4349, allocations: 317.5 kB / 396.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.4366, allocations: 420.6 kB / 397.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.4377, allocations: 0.8982 MB / 398.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.4399, allocations: 1.416 MB / 399.7 MB, free: 316 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007071/0.447, allocations: 4.15 MB / 403.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4471, allocations: 0 / 403.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4471, allocations: 5.375 kB / 403.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001831/0.4473, allocations: 0 / 403.8 MB, free: 14.06 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.009755/0.4571, allocations: 2.894 MB / 406.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.4571, allocations: 13.33 kB / 406.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.4586, allocations: 289.4 kB / 407 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.4621, allocations: 1.448 MB / 408.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.4623, allocations: 165.5 kB / 408.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/0.4626, allocations: 213.8 kB / 408.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.469, allocations: 2.797 MB / 411.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.4691, allocations: 11 kB / 411.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.4693, allocations: 89.03 kB / 411.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.4695, allocations: 101.9 kB / 411.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004798/0.4743, allocations: 2.35 MB / 414.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.4902, allocations: 8.49 MB / 422.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.4928, allocations: 1.713 MB / 424.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.4946, allocations: 0.9556 MB / 425.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.4949, allocations: 199.2 kB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.495, allocations: 47.55 kB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.346e-06/0.495, allocations: 4 kB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01404/0.509, allocations: 6.102 MB / 431.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.5091, allocations: 68.39 kB / 431.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.5116, allocations: 1.433 MB / 433.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.5117, allocations: 49.7 kB / 433.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.5125, allocations: 1.037 MB / 434.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.5129, allocations: 410.1 kB / 434.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.5133, allocations: 263.3 kB / 434.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5135, allocations: 361.9 kB / 435.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.5146, allocations: 0.6832 MB / 435.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.516, allocations: 1.07 MB / 437 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.5187, allocations: 1.863 MB / 438.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.5187, allocations: 4 kB / 438.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004238/0.523, allocations: 2.398 MB / 441.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.523, allocations: 16.03 kB / 441.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.5231, allocations: 12 kB / 441.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.5241, allocations: 419.8 kB / 441.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.5253, allocations: 327.5 kB / 442 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/0.5327, allocations: 7.042 MB / 449.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.5344, allocations: 103.9 kB / 449.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5345, allocations: 59.98 kB / 449.2 MB, free: 3.223 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.001449/0.536, allocations: 0.6892 MB / 449.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.5363, allocations: 158 kB / 450.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.5401, allocations: 2.119 MB / 452.2 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5402, allocations: 8 kB / 452.2 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5402, allocations: 11.98 kB / 452.2 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.5402, allocations: 3.984 kB / 452.2 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008391/0.5486, allocations: 4.557 MB / 456.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5487, allocations: 12 kB / 456.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.5496, allocations: 215.7 kB / 457 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.5507, allocations: 446.9 kB / 457.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/0.5508, allocations: 35.98 kB / 457.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008202/0.559, allocations: 8.632 MB / 466.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.559, allocations: 11.88 kB / 466.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.5644, allocations: 3.095 MB / 469.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.5655, allocations: 379 kB / 469.6 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.5658, allocations: 32 kB / 469.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.5667, allocations: 83.91 kB / 469.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.5669, allocations: 100.7 kB / 469.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.567, allocations: 40 kB / 469.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001538/0.5686, allocations: 0.9886 MB / 470.8 MB, free: 12.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5686, allocations: 0 / 470.8 MB, free: 12.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001871/0.5705, allocations: 460.1 kB / 471.3 MB, free: 12.3 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.0004285/0.5709, allocations: 194.8 kB / 471.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.5747, allocations: 2.227 MB / 473.7 MB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.5747, allocations: 4 kB / 473.7 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.5771, allocations: 1.443 MB / 475.1 MB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.5794, allocations: 417.2 kB / 475.5 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/0.5873, allocations: 4.451 MB / 480 MB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.589, allocations: 1.803 MB / 481.8 MB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.5907, allocations: 361.6 kB / 482.2 MB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.5911, allocations: 115.4 kB / 482.3 MB, free: 1.082 MB / 398.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5911, allocations: 0 / 482.3 MB, free: 1.082 MB / 398.1 MB Notification: Performance of Templates: time 0.04921/0.6403, allocations: 25.23 MB / 0.4956 GB, free: 7.809 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)