Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 114.2 kB / 16.63 MB, free: 6.816 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.001139/0.001139, allocations: 190 kB / 17.55 MB, free: 5.93 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.633/1.633, allocations: 205.1 MB / 223.4 MB, free: 12.4 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.001222/0.001222, allocations: 47.92 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1179, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01434/0.1323, allocations: 11.5 MB / 337.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1429, allocations: 3.887 MB / 341.5 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.1464, allocations: 59.69 kB / 341.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.1499, allocations: 0.7691 MB / 342.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.1551, allocations: 0.8432 MB / 343.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.1569, allocations: 467.5 kB / 343.7 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005728/0.1626, allocations: 3.286 MB / 347 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005668/0.1683, allocations: 2.973 MB / 349.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.1715, allocations: 1.546 MB / 351.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.1761, allocations: 2.005 MB / 353.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.1778, allocations: 420 kB / 353.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.1808, allocations: 0.5311 MB / 354.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.1836, allocations: 1.216 MB / 355.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.1878, allocations: 1.886 MB / 357.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007121/0.195, allocations: 5.444 MB / 363 MB, free: 15.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.1951, allocations: 4 kB / 363 MB, free: 15.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1951, allocations: 0 / 363 MB, free: 15.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001743/0.1952, allocations: 0 / 363 MB, free: 15.75 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01203/0.2073, allocations: 3.802 MB / 366.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.2074, allocations: 15.89 kB / 366.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.2087, allocations: 388.6 kB / 367.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.2127, allocations: 1.942 MB / 369.1 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.213, allocations: 218 kB / 369.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/0.2134, allocations: 283.9 kB / 369.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008109/0.2216, allocations: 3.708 MB / 373.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-05/0.2217, allocations: 0 / 373.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.222, allocations: 112 kB / 373.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.2222, allocations: 141.5 kB / 373.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/0.2281, allocations: 3.106 MB / 376.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3503/0.5784, allocations: 11.65 MB / 388.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.5823, allocations: 1.901 MB / 390.2 MB, free: 44.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.5851, allocations: 1.082 MB / 391.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.5857, allocations: 210.1 kB / 391.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/0.5858, allocations: 48.81 kB / 391.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 5.16e-06/0.5858, allocations: 0 / 391.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01739/0.6032, allocations: 6.518 MB / 398.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.6033, allocations: 64.5 kB / 398.1 MB, free: 40.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/0.6082, allocations: 2 MB / 400.1 MB, free: 39.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004906/0.6088, allocations: 47.7 kB / 400.2 MB, free: 39.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.61, allocations: 1.406 MB / 401.6 MB, free: 37.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.6107, allocations: 490.5 kB / 402.1 MB, free: 37.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00061/0.6113, allocations: 327.2 kB / 402.4 MB, free: 37.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6115, allocations: 305.1 kB / 402.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.6128, allocations: 0.8142 MB / 403.5 MB, free: 36.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.6142, allocations: 1.38 MB / 404.9 MB, free: 35.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.617, allocations: 2.366 MB / 407.2 MB, free: 33.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.617, allocations: 4 kB / 407.2 MB, free: 33.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005379/0.6224, allocations: 2.859 MB / 410.1 MB, free: 30.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.6225, allocations: 15.98 kB / 410.1 MB, free: 30.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/0.6226, allocations: 16 kB / 410.1 MB, free: 30.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.6236, allocations: 389.8 kB / 410.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6251, allocations: 443 kB / 410.9 MB, free: 29.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.6307, allocations: 6.7 MB / 417.6 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.6333, allocations: 127.7 kB / 417.8 MB, free: 22.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/0.6337, allocations: 79.98 kB / 417.8 MB, free: 22.22 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * 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 {(2,9,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.002479/0.6362, allocations: 0.9038 MB / 418.7 MB, free: 21.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/0.6373, allocations: 209.5 kB / 418.9 MB, free: 21.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.6414, allocations: 2.425 MB / 421.4 MB, free: 18.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.6414, allocations: 12 kB / 421.4 MB, free: 18.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6415, allocations: 4 kB / 421.4 MB, free: 18.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.6415, allocations: 7.969 kB / 421.4 MB, free: 18.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.652, allocations: 5.541 MB / 426.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6521, allocations: 4 kB / 426.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6532, allocations: 251.6 kB / 427.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.6543, allocations: 407.4 kB / 427.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6544, allocations: 39.98 kB / 427.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.6611, allocations: 8.257 MB / 435.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6611, allocations: 8.062 kB / 435.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.6668, allocations: 3.608 MB / 439.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.6686, allocations: 470.4 kB / 440 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/0.6692, allocations: 32 kB / 440 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6704, allocations: 87.89 kB / 440.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.6708, allocations: 109 kB / 440.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/0.6709, allocations: 45.67 kB / 440.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002885/0.6738, allocations: 1.365 MB / 441.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.6738, allocations: 112 / 441.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003964/0.6778, allocations: 0.5375 MB / 442.1 MB, free: 13.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * 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 (129): * Single equations (assignments): 125 * 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 {(2,9,100.0%), (1,1,100.0%), (1,6,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.0007894/0.6786, allocations: 197.5 kB / 442.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006948/0.6855, allocations: 3.198 MB / 445.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.6856, allocations: 4 kB / 445.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.6883, allocations: 1.491 MB / 447 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/0.6929, allocations: 0.5323 MB / 447.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.7094, allocations: 6.988 MB / 454.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/0.7126, allocations: 2.197 MB / 456.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002395/0.7151, allocations: 0.4978 MB / 457.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.7156, allocations: 155.4 kB / 457.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7156, allocations: 0 / 457.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Templates: time 0.06979/0.7854, allocations: 29.54 MB / 486.9 MB, free: 44 kB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)