Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 105.3 kB / 17.06 MB, free: 6.027 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.002429/0.002429, allocations: 195 kB / 18 MB, free: 5.109 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.7/1.7, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001207/0.001207, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.254/0.3806, allocations: 8.966 MB / 383.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.3875, allocations: 3.21 MB / 386.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.3893, allocations: 38.62 kB / 386.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.3916, allocations: 0.6703 MB / 387.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.3944, allocations: 0.695 MB / 388.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3955, allocations: 332.3 kB / 388.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.3992, allocations: 2.101 MB / 390.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.4014, allocations: 1.396 MB / 391.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.4039, allocations: 0.916 MB / 392.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.4061, allocations: 1.13 MB / 393.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005074/0.4066, allocations: 230.7 kB / 394.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4079, allocations: 317.7 kB / 394.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.409, allocations: 0.6786 MB / 395.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.4111, allocations: 1.08 MB / 396.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.4161, allocations: 3.115 MB / 399.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4161, allocations: 0 / 399.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4162, allocations: 0 / 399.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.643e-05/0.4163, allocations: 0 / 399.3 MB, free: 1.195 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006539/0.4228, allocations: 2.267 MB / 401.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4229, allocations: 13.48 kB / 401.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.4238, allocations: 226.5 kB / 401.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.4265, allocations: 1.16 MB / 403 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.4266, allocations: 118.2 kB / 403.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.4269, allocations: 151.4 kB / 403.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/0.431, allocations: 2.006 MB / 405.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.4311, allocations: 6.156 kB / 405.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.4313, allocations: 62.78 kB / 405.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.4314, allocations: 87.34 kB / 405.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.4345, allocations: 1.644 MB / 407.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.446, allocations: 6.896 MB / 414 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.447, allocations: 456.3 kB / 414.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.4475, allocations: 262.8 kB / 414.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.4478, allocations: 123.6 kB / 414.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.4478, allocations: 36.72 kB / 414.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 5.02e-06/0.4478, allocations: 1.344 kB / 414.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.008512/0.4563, allocations: 3.276 MB / 418.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002503/0.4589, allocations: 2.349 MB / 420.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.4617, allocations: 1.608 MB / 422.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.4618, allocations: 33.7 kB / 422.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/0.4626, allocations: 1.026 MB / 423.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.4629, allocations: 236.8 kB / 423.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004977/0.4634, allocations: 323.1 kB / 423.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4635, allocations: 305.1 kB / 424 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.4643, allocations: 0.5193 MB / 424.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.4659, allocations: 1.464 MB / 425.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.4687, allocations: 2.138 MB / 428.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.4687, allocations: 11.94 kB / 428.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003633/0.4723, allocations: 2.153 MB / 430.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.4724, allocations: 23.98 kB / 430.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.4724, allocations: 36.84 kB / 430.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.4731, allocations: 226.4 kB / 430.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4742, allocations: 395.2 kB / 430.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.4761, allocations: 1.84 MB / 432.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.478, allocations: 143.3 kB / 432.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.4781, allocations: 104 kB / 433 MB, free: 3.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.4794, allocations: 0.5828 MB / 433.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.4798, allocations: 150.1 kB / 433.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.4818, allocations: 1.118 MB / 434.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4818, allocations: 4 kB / 434.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4818, allocations: 4 kB / 434.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/0.4818, allocations: 3.984 kB / 434.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.488, allocations: 3.39 MB / 438.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.488, allocations: 12.03 kB / 438.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.4884, allocations: 111.8 kB / 438.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.489, allocations: 218.4 kB / 438.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.4891, allocations: 19.98 kB / 438.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.4932, allocations: 4.05 MB / 442.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002029/0.4953, allocations: 2.173 MB / 444.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.4981, allocations: 1.743 MB / 446.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/0.499, allocations: 307.2 kB / 446.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.4992, allocations: 27.86 kB / 446.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.4999, allocations: 43.95 kB / 446.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5, allocations: 67.8 kB / 447 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.5001, allocations: 27.98 kB / 447 MB, free: 4.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.5018, allocations: 1.078 MB / 448.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5018, allocations: 0 / 448.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001826/0.5036, allocations: 376 kB / 448.5 MB, free: 3.156 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.504, allocations: 179 kB / 448.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.5065, allocations: 1.61 MB / 450.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5065, allocations: 0 / 450.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.5078, allocations: 0.8518 MB / 451.1 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.51, allocations: 414.5 kB / 451.5 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/0.5157, allocations: 3.169 MB / 454.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.517, allocations: 1.465 MB / 456.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.5181, allocations: 354 kB / 456.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.5184, allocations: 115.4 kB / 456.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5184, allocations: 0 / 456.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Templates: time 0.04422/0.5627, allocations: 21.15 MB / 477.8 MB, free: 5.582 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)