Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.01607/0.01607, allocations: 105.3 kB / 15.74 MB, free: 6 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.002559/0.002559, allocations: 183.8 kB / 16.67 MB, free: 5.926 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.839/1.839, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001229/0.001229, allocations: 44.89 kB / 326.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 46.63 MB / 373.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.0201/0.1741, allocations: 9.587 MB / 382.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.185, allocations: 3.151 MB / 385.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.1873, allocations: 47.75 kB / 386 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.1909, allocations: 0.6714 MB / 386.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005294/0.1963, allocations: 0.7609 MB / 387.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.1981, allocations: 395.4 kB / 387.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.2038, allocations: 2.553 MB / 390.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.2085, allocations: 2.29 MB / 392.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.2123, allocations: 1.176 MB / 393.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004269/0.2166, allocations: 1.502 MB / 395.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000906/0.2175, allocations: 320 kB / 395.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.2192, allocations: 419.8 kB / 396 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.2207, allocations: 0.8923 MB / 396.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.2234, allocations: 1.423 MB / 398.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.2303, allocations: 4.161 MB / 402.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2303, allocations: 0 / 402.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2303, allocations: 0 / 402.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.788e-05/0.2304, allocations: 4 kB / 402.5 MB, free: 3.918 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.00947/0.2399, allocations: 2.964 MB / 405.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.24, allocations: 11.89 kB / 405.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.2412, allocations: 311.2 kB / 405.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.2453, allocations: 1.454 MB / 407.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.2455, allocations: 164.3 kB / 407.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/0.246, allocations: 215.9 kB / 407.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007994/0.254, allocations: 2.796 MB / 410.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.683e-05/0.2541, allocations: 7.953 kB / 410.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.2545, allocations: 84 kB / 410.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.2547, allocations: 108.2 kB / 410.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007096/0.2618, allocations: 2.343 MB / 412.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.2763, allocations: 8.521 MB / 421.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.2789, allocations: 1.699 MB / 423.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.2807, allocations: 0.9605 MB / 424.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.281, allocations: 215.1 kB / 424.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.281, allocations: 47.5 kB / 424.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.136e-06/0.281, allocations: 0 / 424.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01326/0.2943, allocations: 6.13 MB / 430.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2944, allocations: 60.41 kB / 430.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.2965, allocations: 1.441 MB / 432 MB, free: 5.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.2966, allocations: 45.7 kB / 432.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.2974, allocations: 1.071 MB / 433.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.2977, allocations: 424.4 kB / 433.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/0.2981, allocations: 259.5 kB / 433.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2983, allocations: 357.9 kB / 434.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2994, allocations: 0.6832 MB / 434.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.3008, allocations: 1.078 MB / 435.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.3034, allocations: 1.856 MB / 437.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3034, allocations: 4 kB / 437.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004114/0.3075, allocations: 2.418 MB / 440.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3076, allocations: 8 kB / 440.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3076, allocations: 12 kB / 440.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/0.3086, allocations: 427.2 kB / 440.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3097, allocations: 323.5 kB / 440.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/0.3167, allocations: 7.05 MB / 448 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.318, allocations: 99.84 kB / 448.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3182, allocations: 60 kB / 448.1 MB, free: 4.629 MB / 382.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.001174/0.3194, allocations: 0.6973 MB / 448.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.3196, allocations: 163 kB / 449 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.3233, allocations: 2.111 MB / 451.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.3234, allocations: 16 kB / 451.1 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.3234, allocations: 4 kB / 451.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.3234, allocations: 7.969 kB / 451.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2384/0.5619, allocations: 4.559 MB / 455.7 MB, free: 68.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.562, allocations: 3.812 kB / 455.7 MB, free: 68.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.5629, allocations: 206.5 kB / 455.9 MB, free: 68.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.5642, allocations: 452.7 kB / 456.3 MB, free: 68.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.5644, allocations: 36.41 kB / 456.4 MB, free: 68.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.5727, allocations: 8.622 MB / 465 MB, free: 62.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5727, allocations: 11.56 kB / 465 MB, free: 62.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.5788, allocations: 3.112 MB / 468.1 MB, free: 60.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.5799, allocations: 387.8 kB / 468.5 MB, free: 60.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.5802, allocations: 32.3 kB / 468.5 MB, free: 60.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.5811, allocations: 82.92 kB / 468.6 MB, free: 60.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/0.5814, allocations: 106.5 kB / 468.7 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.5815, allocations: 38.31 kB / 468.8 MB, free: 60.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001699/0.5832, allocations: 0.9895 MB / 469.7 MB, free: 60.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5833, allocations: 0 / 469.7 MB, free: 60.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00227/0.5855, allocations: 458.1 kB / 470.2 MB, free: 60.24 MB / 382.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.0005371/0.5861, allocations: 193 kB / 470.4 MB, free: 60.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004428/0.5905, allocations: 2.224 MB / 472.6 MB, free: 59.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.5906, allocations: 0 / 472.6 MB, free: 59.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.5927, allocations: 1.453 MB / 474.1 MB, free: 58.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.5948, allocations: 422.9 kB / 474.5 MB, free: 58.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.602, allocations: 4.516 MB / 479 MB, free: 55.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.6034, allocations: 1.811 MB / 480.8 MB, free: 54.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.6045, allocations: 366.4 kB / 481.2 MB, free: 54.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.6048, allocations: 109.8 kB / 481.3 MB, free: 54.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6048, allocations: 0 / 481.3 MB, free: 54.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0415/0.6463, allocations: 24.79 MB / 0.4942 GB, free: 29.98 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)