Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001156/0.001156, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0138/0.0138, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.6/1.6, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.0006914/0.0006915, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2916, allocations: 47.57 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01238/0.3041, allocations: 10.24 MB / 337.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.3143, allocations: 3.597 MB / 340.9 MB, free: 5.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.3174, allocations: 55.69 kB / 340.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.3204, allocations: 0.707 MB / 341.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.3256, allocations: 0.7732 MB / 342.4 MB, free: 3.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3271, allocations: 407.5 kB / 342.8 MB, free: 3.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005096/0.3322, allocations: 3.274 MB / 346.1 MB, free: 260 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.3357, allocations: 2.24 MB / 348.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.3383, allocations: 1.027 MB / 349.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.3404, allocations: 1.463 MB / 350.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000298/0.3407, allocations: 156 kB / 351 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.3415, allocations: 263.8 kB / 351.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009219/0.3424, allocations: 0.8175 MB / 352 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3443, allocations: 1.4 MB / 353.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.3491, allocations: 4.55 MB / 358 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3491, allocations: 4 kB / 358 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3491, allocations: 0 / 358 MB, free: 4.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.754e-05/0.3492, allocations: 0 / 358 MB, free: 4.242 MB / 286.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.006497/0.3557, allocations: 2.849 MB / 360.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.3558, allocations: 8.031 kB / 360.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.3568, allocations: 341.1 kB / 361.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3599, allocations: 1.69 MB / 362.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.3601, allocations: 197.3 kB / 363.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.3605, allocations: 255.8 kB / 363.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/0.3662, allocations: 3.283 MB / 366.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.447e-05/0.3663, allocations: 4 kB / 366.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.3665, allocations: 100 kB / 366.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.3666, allocations: 120.9 kB / 366.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.3714, allocations: 2.756 MB / 369.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.3879, allocations: 10.56 MB / 380.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.3899, allocations: 1.353 MB / 381.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3912, allocations: 0.7862 MB / 382.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.3915, allocations: 211.2 kB / 382.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3916, allocations: 47.56 kB / 382.5 MB, free: 11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.807e-06/0.3916, allocations: 0 / 382.5 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01593/0.4075, allocations: 7.073 MB / 389.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4076, allocations: 64.41 kB / 389.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.4103, allocations: 1.789 MB / 391.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/0.4104, allocations: 41.7 kB / 391.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009358/0.4114, allocations: 1.287 MB / 392.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.4118, allocations: 417.9 kB / 393.2 MB, free: 184 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.4119, allocations: 137.6 kB / 393.3 MB, free: 40 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4121, allocations: 305.1 kB / 393.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4132, allocations: 0.7807 MB / 394.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.4147, allocations: 1.293 MB / 395.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.4176, allocations: 2.222 MB / 397.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4176, allocations: 4 kB / 397.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004067/0.4217, allocations: 2.482 MB / 400.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.4217, allocations: 12 kB / 400.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.4217, allocations: 16 kB / 400.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.4224, allocations: 235.6 kB / 400.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.4238, allocations: 423.3 kB / 401.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.4267, allocations: 2.998 MB / 404.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4283, allocations: 135.7 kB / 404.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.4284, allocations: 68 kB / 404.3 MB, free: 4.32 MB / 334.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.001609/0.43, allocations: 0.8213 MB / 405.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.4304, allocations: 185.7 kB / 405.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.4337, allocations: 2.043 MB / 407.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4338, allocations: 12 kB / 407.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4338, allocations: 0 / 407.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4338, allocations: 11.97 kB / 407.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.4413, allocations: 4.748 MB / 412.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4414, allocations: 4 kB / 412.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4424, allocations: 259.6 kB / 412.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/0.443, allocations: 207.5 kB / 412.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/0.4431, allocations: 27.98 kB / 412.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.4456, allocations: 2.978 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4456, allocations: 3.938 kB / 415.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.4502, allocations: 3.133 MB / 418.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/0.4512, allocations: 446.5 kB / 419.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.4514, allocations: 20 kB / 419.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.4523, allocations: 99.86 kB / 419.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.4525, allocations: 76.95 kB / 419.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.4526, allocations: 32 kB / 419.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001917/0.4545, allocations: 1.22 MB / 420.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4545, allocations: 0 / 420.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001636/0.4561, allocations: 499.9 kB / 421.1 MB, free: 3.051 MB / 350.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.0003881/0.4565, allocations: 198.8 kB / 421.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.4603, allocations: 2.343 MB / 423.6 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4603, allocations: 0 / 423.6 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.4622, allocations: 1.343 MB / 424.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.4652, allocations: 465.8 kB / 425.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.4755, allocations: 6.094 MB / 431.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.4773, allocations: 2.006 MB / 433.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001638/0.479, allocations: 0.496 MB / 434 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.4794, allocations: 143.4 kB / 434.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4794, allocations: 0 / 434.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of Templates: time 0.2864/0.7658, allocations: 24.45 MB / 458.6 MB, free: 112.1 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)