Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 96.16 kB / 16.3 MB, free: 6.461 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.001103/0.001103, allocations: 174.1 kB / 17.19 MB, free: 6.348 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.673/1.673, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004949/0.0004949, allocations: 11.44 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01129/0.148, allocations: 8.849 MB / 336.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.1569, allocations: 3.552 MB / 340.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.1587, allocations: 55.69 kB / 340.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.1606, allocations: 0.6841 MB / 340.8 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.1632, allocations: 0.775 MB / 341.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.1642, allocations: 315.5 kB / 341.9 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.1667, allocations: 1.915 MB / 343.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.1689, allocations: 1.808 MB / 345.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.1702, allocations: 0.9379 MB / 346.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.1718, allocations: 1.249 MB / 347.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.1721, allocations: 152 kB / 348 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.1727, allocations: 219.9 kB / 348.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.1735, allocations: 0.7672 MB / 349 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.1741, allocations: 0.5666 MB / 349.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.1775, allocations: 3.868 MB / 353.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1775, allocations: 0 / 353.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1775, allocations: 0 / 353.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.1776, allocations: 0 / 353.4 MB, free: 10.27 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.005938/0.1835, allocations: 2.864 MB / 356.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.1836, allocations: 16.03 kB / 356.3 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.1845, allocations: 340.1 kB / 356.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.1877, allocations: 1.655 MB / 358.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.1879, allocations: 201 kB / 358.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.1883, allocations: 244 kB / 358.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005785/0.1941, allocations: 3.244 MB / 361.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.1942, allocations: 3.906 kB / 362 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.1944, allocations: 108 kB / 362.1 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.1946, allocations: 128.9 kB / 362.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.1992, allocations: 2.729 MB / 364.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01874/0.2179, allocations: 10.5 MB / 375.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.2201, allocations: 1.349 MB / 376.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.2206, allocations: 212.2 kB / 377 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.2206, allocations: 43.56 kB / 377 MB, free: 1.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.306e-06/0.2206, allocations: 0 / 377 MB, free: 1.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.2996/0.5202, allocations: 7.072 MB / 384.1 MB, free: 48.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.5204, allocations: 64.72 kB / 384.1 MB, free: 48.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.5243, allocations: 1.721 MB / 385.9 MB, free: 48.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5245, allocations: 47.45 kB / 385.9 MB, free: 48.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.5258, allocations: 1.272 MB / 387.2 MB, free: 47.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.5262, allocations: 424.3 kB / 387.6 MB, free: 46.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.5263, allocations: 36.78 kB / 387.6 MB, free: 46.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5264, allocations: 370.1 kB / 388 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5278, allocations: 0.7727 MB / 388.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.5293, allocations: 1.296 MB / 390.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.5308, allocations: 0.9787 MB / 391 MB, free: 44.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.5308, allocations: 4.844 kB / 391 MB, free: 44.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004013/0.5349, allocations: 2.477 MB / 393.5 MB, free: 43.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.5349, allocations: 12.94 kB / 393.5 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.5349, allocations: 16.5 kB / 393.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.5356, allocations: 245.9 kB / 393.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.5371, allocations: 416.3 kB / 394.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.5393, allocations: 3.04 MB / 397.2 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5409, allocations: 132.3 kB / 397.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.541, allocations: 74.44 kB / 397.4 MB, free: 41.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001674/0.5427, allocations: 0.8138 MB / 398.3 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.543, allocations: 189 kB / 398.4 MB, free: 40.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.546, allocations: 2.038 MB / 400.5 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.546, allocations: 14.22 kB / 400.5 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.546, allocations: 6.438 kB / 400.5 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.546, allocations: 6.656 kB / 400.5 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007117/0.5532, allocations: 4.72 MB / 405.2 MB, free: 36.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5532, allocations: 4.266 kB / 405.2 MB, free: 36.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.5542, allocations: 267.6 kB / 405.5 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.5547, allocations: 202.3 kB / 405.7 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.5548, allocations: 24 kB / 405.7 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.5567, allocations: 3.022 MB / 408.7 MB, free: 32.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5567, allocations: 3.953 kB / 408.7 MB, free: 32.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.5606, allocations: 3.277 MB / 412 MB, free: 29.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.5617, allocations: 431.1 kB / 412.4 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.562, allocations: 24 kB / 412.5 MB, free: 28.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.5628, allocations: 103.9 kB / 412.6 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.563, allocations: 76.89 kB / 412.6 MB, free: 28.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.5631, allocations: 32 kB / 412.7 MB, free: 28.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.5646, allocations: 1.165 MB / 413.8 MB, free: 27.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5646, allocations: 0 / 413.8 MB, free: 27.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001804/0.5664, allocations: 482.9 kB / 414.3 MB, free: 26.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003267/0.5668, allocations: 172.5 kB / 414.5 MB, free: 26.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.5699, allocations: 2.344 MB / 416.8 MB, free: 24.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5699, allocations: 0 / 416.8 MB, free: 24.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.5714, allocations: 1.342 MB / 418.2 MB, free: 22.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.5732, allocations: 454.9 kB / 418.6 MB, free: 22.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.5817, allocations: 5.796 MB / 424.4 MB, free: 16.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.5832, allocations: 2.061 MB / 426.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001561/0.5848, allocations: 0.496 MB / 427 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.5852, allocations: 135.4 kB / 427.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5852, allocations: 0 / 427.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of Templates: time 0.0451/0.6303, allocations: 23.13 MB / 450.2 MB, free: 6.652 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) Environment - environmentSimulation: