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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001093/0.001093, allocations: 191.1 kB / 16.25 MB, free: 6.641 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.586/1.586, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.001375/0.001375, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3345, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01654/0.3511, allocations: 10.79 MB / 335.6 MB, free: 9.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3618, allocations: 3.62 MB / 339.3 MB, free: 5.637 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.3655, allocations: 55.69 kB / 339.3 MB, free: 5.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.3684, allocations: 0.7304 MB / 340.1 MB, free: 4.848 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.3733, allocations: 0.7537 MB / 340.8 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3749, allocations: 419.5 kB / 341.2 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.3801, allocations: 2.943 MB / 344.2 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.3836, allocations: 2.679 MB / 346.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3863, allocations: 1.378 MB / 348.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.3891, allocations: 1.787 MB / 350 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005271/0.3896, allocations: 372 kB / 350.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.3906, allocations: 479.8 kB / 350.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.3918, allocations: 1.071 MB / 351.9 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.3939, allocations: 1.668 MB / 353.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.3999, allocations: 4.813 MB / 358.4 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.3999, allocations: 4 kB / 358.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3999, allocations: 4 kB / 358.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001683/0.4001, allocations: 0 / 358.4 MB, free: 2.391 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.00935/0.4095, allocations: 3.386 MB / 361.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/0.4096, allocations: 19.89 kB / 361.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4106, allocations: 333.1 kB / 362.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.4138, allocations: 1.69 MB / 363.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.414, allocations: 201.3 kB / 364 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.4144, allocations: 251.9 kB / 364.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.4209, allocations: 3.279 MB / 367.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.914e-05/0.421, allocations: 3.938 kB / 367.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.4213, allocations: 104 kB / 367.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.4215, allocations: 128.9 kB / 367.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005256/0.4267, allocations: 2.744 MB / 370.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.4492, allocations: 10.52 MB / 381 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.4517, allocations: 1.349 MB / 382.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4531, allocations: 0.7785 MB / 383.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004099/0.4536, allocations: 203.2 kB / 383.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.4536, allocations: 43.56 kB / 383.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.719e-06/0.4537, allocations: 0 / 383.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01796/0.4716, allocations: 7.038 MB / 390.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.4718, allocations: 64.41 kB / 390.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/0.4763, allocations: 1.789 MB / 392.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.4765, allocations: 49.64 kB / 392.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.4778, allocations: 1.283 MB / 393.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.4783, allocations: 421.9 kB / 394 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000635/0.479, allocations: 299.2 kB / 394.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4791, allocations: 305.1 kB / 394.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4806, allocations: 0.7691 MB / 395.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.4824, allocations: 1.301 MB / 396.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.4857, allocations: 2.211 MB / 398.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-05/0.4857, allocations: 4 kB / 398.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005493/0.4912, allocations: 2.478 MB / 401.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.4913, allocations: 12 kB / 401.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/0.4914, allocations: 19.98 kB / 401.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/0.4922, allocations: 243.4 kB / 401.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.4938, allocations: 415.3 kB / 402.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.4974, allocations: 3.242 MB / 405.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.4994, allocations: 127.7 kB / 405.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.4997, allocations: 71.98 kB / 405.5 MB, free: 1.625 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.002014/0.5017, allocations: 0.8174 MB / 406.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008791/0.5026, allocations: 185.7 kB / 406.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.5067, allocations: 2.035 MB / 408.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.5068, allocations: 12 kB / 408.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.5068, allocations: 4 kB / 408.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.5068, allocations: 11.91 kB / 408.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5172, allocations: 4.744 MB / 413.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.5173, allocations: 4 kB / 413.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.5184, allocations: 259.6 kB / 413.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006257/0.5191, allocations: 203.5 kB / 413.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.5192, allocations: 31.92 kB / 413.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.5224, allocations: 3.218 MB / 417 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.5225, allocations: 7.938 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.5278, allocations: 3.129 MB / 420.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.5291, allocations: 422.7 kB / 420.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/0.5298, allocations: 24.08 kB / 420.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.5314, allocations: 95.86 kB / 420.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.5316, allocations: 80.88 kB / 420.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.5317, allocations: 32 kB / 420.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003168/0.5349, allocations: 1.224 MB / 422 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5349, allocations: 0 / 422 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002754/0.5377, allocations: 492 kB / 422.5 MB, free: 136 kB / 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.0006329/0.5383, allocations: 194.8 kB / 422.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00643/0.5447, allocations: 2.99 MB / 425.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.5448, allocations: 0 / 425.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.5472, allocations: 1.34 MB / 427 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.5509, allocations: 493.6 kB / 427.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.5636, allocations: 6.03 MB / 433.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/0.5668, allocations: 2.002 MB / 435.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002306/0.5691, allocations: 0.496 MB / 436 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007192/0.5699, allocations: 143.4 kB / 436.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of SimCode: time 2.635e-06/0.5699, allocations: 0 / 436.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of Templates: time 0.3927/0.9625, allocations: 25.71 MB / 461.9 MB, free: 104.5 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)