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.0007993/0.0007997, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0008627/0.0008629, allocations: 177 kB / 17.56 MB, free: 6.18 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.569/1.569, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005429/0.000543, allocations: 8.219 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1483, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01591/0.1643, allocations: 10.91 MB / 339.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1765, allocations: 3.872 MB / 343.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00333/0.1799, allocations: 55.69 kB / 343.2 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.1832, allocations: 0.7536 MB / 343.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004971/0.1882, allocations: 0.8548 MB / 344.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1901, allocations: 467.6 kB / 345.2 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006139/0.1963, allocations: 3.613 MB / 348.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.2002, allocations: 2.506 MB / 351.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.2026, allocations: 1.124 MB / 352.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.2055, allocations: 1.634 MB / 354.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005314/0.2061, allocations: 168 kB / 354.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.2072, allocations: 287.8 kB / 354.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.2085, allocations: 0.9071 MB / 355.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.2113, allocations: 1.563 MB / 357 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.2188, allocations: 5.134 MB / 362.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.2189, allocations: 0 / 362.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2189, allocations: 0 / 362.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002961/0.2192, allocations: 0 / 362.2 MB, free: 1.719 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.007992/0.2272, allocations: 3.194 MB / 365.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.2273, allocations: 8.031 kB / 365.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.2288, allocations: 392.6 kB / 365.7 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.2326, allocations: 1.939 MB / 367.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.2329, allocations: 218 kB / 367.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/0.2334, allocations: 287.9 kB / 368.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/0.2411, allocations: 3.697 MB / 371.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.534e-05/0.2413, allocations: 4 kB / 371.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.2416, allocations: 116 kB / 372 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.2418, allocations: 153.3 kB / 372.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.2485, allocations: 3.113 MB / 375.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2622/0.5107, allocations: 11.68 MB / 386.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.5134, allocations: 1.905 MB / 388.8 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.5155, allocations: 1.091 MB / 389.9 MB, free: 43.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.5159, allocations: 209 kB / 390.1 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.516, allocations: 44.55 kB / 390.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 4.509e-06/0.516, allocations: 1.281 kB / 390.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01444/0.5304, allocations: 6.571 MB / 396.7 MB, free: 40.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.5306, allocations: 65.75 kB / 396.8 MB, free: 40.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/0.5344, allocations: 1.989 MB / 398.8 MB, free: 39.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.5347, allocations: 53.61 kB / 398.9 MB, free: 38.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.5358, allocations: 1.403 MB / 400.3 MB, free: 37.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.5361, allocations: 490.5 kB / 400.7 MB, free: 37.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.5363, allocations: 148.7 kB / 400.9 MB, free: 37.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.5364, allocations: 306.6 kB / 401.2 MB, free: 36.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.5376, allocations: 0.8171 MB / 402 MB, free: 36.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.5389, allocations: 1.378 MB / 403.4 MB, free: 35.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.5416, allocations: 2.373 MB / 405.7 MB, free: 33.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.5416, allocations: 3.688 kB / 405.8 MB, free: 33.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004557/0.5462, allocations: 2.859 MB / 408.6 MB, free: 31.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.5462, allocations: 15.94 kB / 408.6 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.5463, allocations: 20 kB / 408.6 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008257/0.5471, allocations: 393.3 kB / 409 MB, free: 31.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.5485, allocations: 435.3 kB / 409.5 MB, free: 30.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/0.5532, allocations: 6.145 MB / 415.6 MB, free: 24.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.5554, allocations: 136.8 kB / 415.7 MB, free: 24.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5555, allocations: 80 kB / 415.8 MB, free: 24.14 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.0019/0.5574, allocations: 0.9038 MB / 416.7 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.5579, allocations: 209.4 kB / 416.9 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/0.5614, allocations: 2.43 MB / 419.4 MB, free: 20.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5614, allocations: 16 kB / 419.4 MB, free: 20.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5614, allocations: 4.109 kB / 419.4 MB, free: 20.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5614, allocations: 15.91 kB / 419.4 MB, free: 20.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/0.5692, allocations: 5.525 MB / 424.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5692, allocations: 4.531 kB / 424.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.5702, allocations: 267.6 kB / 425.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00086/0.5711, allocations: 399.1 kB / 425.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.5712, allocations: 39.98 kB / 425.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.5766, allocations: 7.585 MB / 433.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5766, allocations: 4 kB / 433.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.5816, allocations: 3.619 MB / 436.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.5828, allocations: 478.3 kB / 437.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.5831, allocations: 35.98 kB / 437.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5841, allocations: 88.08 kB / 437.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.5844, allocations: 113 kB / 437.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.5845, allocations: 44.06 kB / 437.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.5864, allocations: 1.357 MB / 438.9 MB, free: 188 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5864, allocations: 0 / 438.9 MB, free: 188 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002385/0.5888, allocations: 0.54 MB / 439.5 MB, free: 15.64 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.0004522/0.5892, allocations: 197.4 kB / 439.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.5934, allocations: 2.492 MB / 442.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.5935, allocations: 4.375 kB / 442.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.5957, allocations: 1.502 MB / 443.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.5997, allocations: 0.5053 MB / 444.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.6123, allocations: 7.086 MB / 451.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/0.6146, allocations: 2.197 MB / 453.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002109/0.6167, allocations: 0.4979 MB / 453.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.6173, allocations: 147.4 kB / 454.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6173, allocations: 0 / 454.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Templates: time 0.05761/0.6749, allocations: 28.04 MB / 482.1 MB, free: 4.734 MB / 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)