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.001066/0.001066, allocations: 93.83 kB / 16.65 MB, free: 6.598 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.00128/0.00128, allocations: 179 kB / 17.56 MB, free: 6.199 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.57/1.57, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0004923/0.0004923, allocations: 15.98 kB / 280.7 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 47.58 MB / 328.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01214/0.1382, allocations: 10.23 MB / 338.6 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009157/0.1474, allocations: 3.592 MB / 342.1 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/0.1508, allocations: 51.75 kB / 342.2 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.1542, allocations: 0.7225 MB / 342.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.1592, allocations: 0.7771 MB / 343.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1611, allocations: 411.5 kB / 344.1 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005838/0.1669, allocations: 3.27 MB / 347.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.17, allocations: 2.232 MB / 349.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.1724, allocations: 1.027 MB / 350.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.1746, allocations: 1.463 MB / 352.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.1749, allocations: 156 kB / 352.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.1757, allocations: 271.8 kB / 352.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009924/0.1767, allocations: 0.8136 MB / 353.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.1786, allocations: 1.404 MB / 354.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.1835, allocations: 4.554 MB / 359.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1836, allocations: 0 / 359.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1836, allocations: 0 / 359.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.1837, allocations: 0 / 359.3 MB, free: 4.586 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.006575/0.1903, allocations: 2.849 MB / 362.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1904, allocations: 8.031 kB / 362.1 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/0.1913, allocations: 337.1 kB / 362.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.1948, allocations: 1.694 MB / 364.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.195, allocations: 201.2 kB / 364.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.1954, allocations: 247.9 kB / 364.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/0.202, allocations: 3.279 MB / 367.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.2021, allocations: 11.91 kB / 367.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.2023, allocations: 104 kB / 368 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.2025, allocations: 124.9 kB / 368.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.2079, allocations: 2.752 MB / 370.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2193/0.4273, allocations: 10.54 MB / 381.4 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.4296, allocations: 1.364 MB / 382.8 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.4309, allocations: 0.7809 MB / 383.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.4311, allocations: 206.5 kB / 383.7 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4312, allocations: 49.19 kB / 383.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.476e-06/0.4312, allocations: 0 / 383.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01683/0.448, allocations: 7.069 MB / 390.9 MB, free: 44.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.4481, allocations: 64.19 kB / 390.9 MB, free: 44.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.4505, allocations: 1.791 MB / 392.7 MB, free: 43.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/0.4506, allocations: 47.36 kB / 392.8 MB, free: 43.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/0.4513, allocations: 1.277 MB / 394 MB, free: 42.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.4516, allocations: 433.1 kB / 394.5 MB, free: 42.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.4518, allocations: 131.9 kB / 394.6 MB, free: 42.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.4518, allocations: 305.1 kB / 394.9 MB, free: 41.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4529, allocations: 0.7748 MB / 395.7 MB, free: 41.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.454, allocations: 1.303 MB / 397 MB, free: 40.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.4562, allocations: 2.213 MB / 399.2 MB, free: 39.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4562, allocations: 7.562 kB / 399.2 MB, free: 39.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003633/0.4598, allocations: 2.481 MB / 401.7 MB, free: 38.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.4599, allocations: 10.38 kB / 401.7 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.4599, allocations: 18.22 kB / 401.7 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.4605, allocations: 242.5 kB / 401.9 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4617, allocations: 415.3 kB / 402.3 MB, free: 37.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.4636, allocations: 3.014 MB / 405.4 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.465, allocations: 122.5 kB / 405.5 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.4651, allocations: 78.8 kB / 405.6 MB, free: 34.83 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001568/0.4667, allocations: 0.8169 MB / 406.4 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003942/0.4671, allocations: 189.6 kB / 406.6 MB, free: 34.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.47, allocations: 2.039 MB / 408.6 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.47, allocations: 12 kB / 408.6 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.47, allocations: 4 kB / 408.6 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.47, allocations: 7.969 kB / 408.6 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.4767, allocations: 4.763 MB / 413.4 MB, free: 27.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.4767, allocations: 4 kB / 413.4 MB, free: 27.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.4777, allocations: 264.1 kB / 413.6 MB, free: 26.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.4781, allocations: 199.6 kB / 413.8 MB, free: 26.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.4782, allocations: 27.98 kB / 413.9 MB, free: 26.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.4799, allocations: 2.982 MB / 416.8 MB, free: 23.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4799, allocations: 4 kB / 416.9 MB, free: 23.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.4835, allocations: 3.127 MB / 420 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.4842, allocations: 436.6 kB / 420.4 MB, free: 19.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.4844, allocations: 27.94 kB / 420.4 MB, free: 19.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008385/0.4853, allocations: 95.86 kB / 420.5 MB, free: 19.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4854, allocations: 84.89 kB / 420.6 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.4855, allocations: 36 kB / 420.6 MB, free: 19.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.4869, allocations: 1.22 MB / 421.9 MB, free: 18.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4869, allocations: 0 / 421.9 MB, free: 18.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00143/0.4884, allocations: 490.8 kB / 422.3 MB, free: 17.93 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,1,100.0%), (1,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.0003359/0.4887, allocations: 190.2 kB / 422.5 MB, free: 17.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.4918, allocations: 2.35 MB / 424.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4918, allocations: 4 kB / 424.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4931, allocations: 1.337 MB / 426.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.4956, allocations: 462 kB / 426.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.5032, allocations: 6.103 MB / 432.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.5045, allocations: 2.01 MB / 434.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.5061, allocations: 0.4999 MB / 435.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.5065, allocations: 135.4 kB / 435.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5065, allocations: 0 / 435.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Templates: time 0.04779/0.5543, allocations: 24.46 MB / 459.9 MB, free: 12.17 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (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)