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.001897/0.001897, allocations: 108.3 kB / 16.62 MB, free: 6.961 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.002291/0.002291, allocations: 189.8 kB / 17.54 MB, free: 6.066 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.656/1.656, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.001399/0.0014, allocations: 48.41 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 46.64 MB / 326.2 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01732/0.1389, allocations: 10.78 MB / 336.9 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009613/0.1486, allocations: 3.619 MB / 340.6 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.152, allocations: 51.75 kB / 340.6 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003498/0.1556, allocations: 0.7225 MB / 341.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004676/0.1603, allocations: 0.781 MB / 342.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.1626, allocations: 407.6 kB / 342.5 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006671/0.1693, allocations: 2.943 MB / 345.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004664/0.174, allocations: 2.679 MB / 348.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004456/0.1786, allocations: 1.374 MB / 349.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004692/0.1833, allocations: 1.783 MB / 351.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.1854, allocations: 376 kB / 351.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.1885, allocations: 475.8 kB / 352.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.1914, allocations: 1.075 MB / 353.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004438/0.1959, allocations: 1.676 MB / 354.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.2059, allocations: 4.813 MB / 359.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.41e-05/0.2061, allocations: 0 / 359.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.74e-06/0.2061, allocations: 0 / 359.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003839/0.2065, allocations: 0 / 359.7 MB, free: 3.059 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.01412/0.2206, allocations: 3.386 MB / 363.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.2207, allocations: 11.89 kB / 363.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2221, allocations: 337.1 kB / 363.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.2263, allocations: 1.694 MB / 365.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.2266, allocations: 201.3 kB / 365.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007116/0.2274, allocations: 251.9 kB / 365.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008748/0.2361, allocations: 3.279 MB / 368.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.2363, allocations: 7.938 kB / 368.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.2367, allocations: 107.9 kB / 368.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.2369, allocations: 124.9 kB / 369.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/0.2433, allocations: 2.744 MB / 371.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2858/0.5292, allocations: 10.51 MB / 382.3 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.5319, allocations: 1.353 MB / 383.7 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.5335, allocations: 0.7723 MB / 384.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.5338, allocations: 205.5 kB / 384.6 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.5339, allocations: 49.56 kB / 384.7 MB, free: 45.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 6.261e-06/0.5339, allocations: 3.609 kB / 384.7 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01739/0.5513, allocations: 7.036 MB / 391.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5514, allocations: 66.81 kB / 391.8 MB, free: 43.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.5544, allocations: 1.803 MB / 393.6 MB, free: 42.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.5546, allocations: 46.27 kB / 393.6 MB, free: 42.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000815/0.5554, allocations: 1.272 MB / 394.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.5558, allocations: 428 kB / 395.3 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.5563, allocations: 291 kB / 395.6 MB, free: 41.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.5564, allocations: 301.1 kB / 395.9 MB, free: 40.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.5574, allocations: 0.7778 MB / 396.7 MB, free: 40.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5587, allocations: 1.293 MB / 398 MB, free: 39.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.5613, allocations: 2.216 MB / 400.2 MB, free: 37.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.5613, allocations: 7.5 kB / 400.2 MB, free: 37.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004186/0.5655, allocations: 2.475 MB / 402.7 MB, free: 36.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.5656, allocations: 14.78 kB / 402.7 MB, free: 36.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.5657, allocations: 14.28 kB / 402.7 MB, free: 36.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.5664, allocations: 245 kB / 402.9 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5677, allocations: 419.5 kB / 403.4 MB, free: 36.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.57, allocations: 3.238 MB / 406.6 MB, free: 33.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.572, allocations: 127.5 kB / 406.7 MB, free: 33.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5722, allocations: 74.67 kB / 406.8 MB, free: 33.25 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.001827/0.574, allocations: 0.8242 MB / 407.6 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006104/0.5746, allocations: 182.5 kB / 407.8 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.5776, allocations: 2.032 MB / 409.8 MB, free: 30.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5776, allocations: 15.94 kB / 409.8 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5776, allocations: 0 / 409.8 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5776, allocations: 7.969 kB / 409.8 MB, free: 30.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.5846, allocations: 4.76 MB / 414.6 MB, free: 25.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5846, allocations: 4 kB / 414.6 MB, free: 25.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/0.5856, allocations: 267.5 kB / 414.9 MB, free: 25.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.5861, allocations: 207.5 kB / 415.1 MB, free: 25.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.5862, allocations: 24 kB / 415.1 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.5881, allocations: 3.216 MB / 418.3 MB, free: 21.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5882, allocations: 0 / 418.3 MB, free: 21.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.5921, allocations: 3.122 MB / 421.4 MB, free: 18.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009915/0.5931, allocations: 434.6 kB / 421.9 MB, free: 18.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.5933, allocations: 23.98 kB / 421.9 MB, free: 18.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.5943, allocations: 91.88 kB / 422 MB, free: 17.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.5945, allocations: 84.89 kB / 422.1 MB, free: 17.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.5945, allocations: 35.98 kB / 422.1 MB, free: 17.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001583/0.5961, allocations: 1.224 MB / 423.3 MB, free: 16.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5961, allocations: 0 / 423.3 MB, free: 16.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001749/0.5979, allocations: 487.5 kB / 423.8 MB, free: 16.17 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.0004084/0.5983, allocations: 194.3 kB / 424 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.6028, allocations: 2.978 MB / 427 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.6028, allocations: 1.875 kB / 427 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.6043, allocations: 1.335 MB / 428.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.6075, allocations: 493.1 kB / 428.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.6169, allocations: 6.037 MB / 434.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.6183, allocations: 2.011 MB / 436.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001756/0.6201, allocations: 0.496 MB / 437.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.6205, allocations: 139.3 kB / 437.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6205, allocations: 0 / 437.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Templates: time 0.05436/0.6749, allocations: 25.72 MB / 463.2 MB, free: 8.598 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)