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.001215/0.001215, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001156/0.001156, allocations: 179.8 kB / 17.2 MB, free: 5.898 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.672/1.672, allocations: 205.4 MB / 223.3 MB, free: 13.19 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.0005885/0.0005891, allocations: 15.28 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1563, allocations: 47.57 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01384/0.1702, allocations: 9.465 MB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1808, allocations: 3.817 MB / 341 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.1832, allocations: 59.69 kB / 341 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.1857, allocations: 0.719 MB / 341.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.1894, allocations: 0.8568 MB / 342.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1908, allocations: 343.5 kB / 343 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003992/0.1948, allocations: 2.126 MB / 345.1 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/0.1977, allocations: 2.064 MB / 347.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.2, allocations: 1.035 MB / 348.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.2019, allocations: 1.393 MB / 349.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.2022, allocations: 164 kB / 349.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006617/0.2028, allocations: 251.8 kB / 350 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009075/0.2038, allocations: 0.8607 MB / 350.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.2045, allocations: 0.6328 MB / 351.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.2091, allocations: 4.371 MB / 355.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2091, allocations: 0 / 355.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2091, allocations: 3.938 kB / 355.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.2093, allocations: 0 / 355.8 MB, free: 7.84 MB / 302.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.007513/0.2168, allocations: 3.209 MB / 359.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2169, allocations: 8.031 kB / 359.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2181, allocations: 399.5 kB / 359.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.2223, allocations: 1.88 MB / 361.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.2225, allocations: 229.6 kB / 361.6 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.223, allocations: 283.9 kB / 361.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/0.2296, allocations: 3.65 MB / 365.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/0.2297, allocations: 11.89 kB / 365.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.23, allocations: 116 kB / 365.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.2302, allocations: 141.4 kB / 365.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/0.2361, allocations: 3.082 MB / 368.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2887/0.5248, allocations: 11.63 MB / 380.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.5298, allocations: 1.894 MB / 382.4 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.5303, allocations: 206.6 kB / 382.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.5303, allocations: 50.75 kB / 382.6 MB, free: 45.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 5.892e-06/0.5304, allocations: 0 / 382.6 MB, free: 45.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=143): time 0.02195/0.5523, allocations: 7.245 MB / 389.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.5524, allocations: 70.86 kB / 389.9 MB, free: 43.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/0.5579, allocations: 1.924 MB / 391.8 MB, free: 42.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.5582, allocations: 49.64 kB / 391.9 MB, free: 42.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.5598, allocations: 1.414 MB / 393.3 MB, free: 41.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007249/0.5606, allocations: 0.4938 MB / 393.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5608, allocations: 34.81 kB / 393.8 MB, free: 40.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.561, allocations: 379.4 kB / 394.2 MB, free: 40.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.5629, allocations: 0.8595 MB / 395.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.565, allocations: 1.397 MB / 396.5 MB, free: 39.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.5669, allocations: 1.089 MB / 397.6 MB, free: 38.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/0.5669, allocations: 3.906 kB / 397.6 MB, free: 38.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005867/0.5728, allocations: 2.952 MB / 400.5 MB, free: 37.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.5729, allocations: 12.81 kB / 400.5 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/0.573, allocations: 18.5 kB / 400.5 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.5743, allocations: 0.5122 MB / 401.1 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.5758, allocations: 437.6 kB / 401.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.5823, allocations: 6.063 MB / 407.5 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.5845, allocations: 139.8 kB / 407.7 MB, free: 32.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.5847, allocations: 72 kB / 407.8 MB, free: 32.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (208): * Single equations (assignments): 205 * 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: 2 * 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: 2 {(5,76.0%) 17,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002275/0.587, allocations: 0.9174 MB / 408.7 MB, free: 31.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009045/0.5879, allocations: 205.4 kB / 408.9 MB, free: 31.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.5924, allocations: 2.548 MB / 411.4 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.5924, allocations: 17.75 kB / 411.4 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.5925, allocations: 7.953 kB / 411.4 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.5925, allocations: 7.969 kB / 411.5 MB, free: 28.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.6047, allocations: 5.569 MB / 417 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.6047, allocations: 288 / 417 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6058, allocations: 259.6 kB / 417.3 MB, free: 22.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.6071, allocations: 0.5293 MB / 417.8 MB, free: 22.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.6072, allocations: 31.98 kB / 417.8 MB, free: 22.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006707/0.614, allocations: 7.562 MB / 425.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.614, allocations: 4 kB / 425.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.6197, allocations: 3.881 MB / 429.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.6213, allocations: 474.3 kB / 429.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/0.622, allocations: 35.95 kB / 429.8 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.6237, allocations: 94.06 kB / 429.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.624, allocations: 97.11 kB / 430 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.6241, allocations: 47.98 kB / 430 MB, free: 9.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003467/0.6276, allocations: 1.303 MB / 431.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6276, allocations: 0 / 431.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003693/0.6313, allocations: 0.5575 MB / 431.9 MB, free: 7.699 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 17,(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.0005604/0.6319, allocations: 154.2 kB / 432 MB, free: 7.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004351/0.6362, allocations: 2.546 MB / 434.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.6363, allocations: 0 / 434.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.6383, allocations: 1.504 MB / 436.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.6412, allocations: 0.4903 MB / 436.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.6556, allocations: 6.768 MB / 443.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/0.6599, allocations: 2.26 MB / 445.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002924/0.6629, allocations: 497.8 kB / 446.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/0.6637, allocations: 151.4 kB / 446.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6638, allocations: 0 / 446.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of Templates: time 0.06375/0.7275, allocations: 28.06 MB / 474.3 MB, free: 13.11 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: