Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001042/0.001042, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001245/0.001245, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0006105/0.0006106, allocations: 10.81 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3366, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008759/0.3454, allocations: 7.923 MB / 334.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006548/0.352, allocations: 3.005 MB / 337.4 MB, free: 8.598 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.3531, allocations: 35.81 kB / 337.4 MB, free: 8.562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.3545, allocations: 0.5477 MB / 338 MB, free: 8.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3565, allocations: 0.5865 MB / 338.6 MB, free: 7.422 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.3574, allocations: 215.7 kB / 338.8 MB, free: 7.211 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.3603, allocations: 2.175 MB / 341 MB, free: 5.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.3615, allocations: 0.949 MB / 341.9 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009921/0.3625, allocations: 0.7119 MB / 342.6 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.3638, allocations: 0.9534 MB / 343.6 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.364, allocations: 104 kB / 343.7 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.3644, allocations: 171.9 kB / 343.8 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.365, allocations: 0.5296 MB / 344.4 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.3654, allocations: 404.7 kB / 344.8 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.3675, allocations: 2.489 MB / 347.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.3675, allocations: 4 kB / 347.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3675, allocations: 0 / 347.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.3675, allocations: 0 / 347.3 MB, free: 14.67 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003375/0.3709, allocations: 1.942 MB / 349.2 MB, free: 12.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.371, allocations: 12.03 kB / 349.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.3715, allocations: 241.3 kB / 349.4 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.3733, allocations: 1.098 MB / 350.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.3735, allocations: 119.1 kB / 350.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.3738, allocations: 156 kB / 350.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.377, allocations: 1.993 MB / 352.8 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.377, allocations: 7.844 kB / 352.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.3772, allocations: 64 kB / 352.9 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.28e-05/0.3773, allocations: 74.92 kB / 352.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.38, allocations: 1.635 MB / 354.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009491/0.3895, allocations: 6.96 MB / 361.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.3902, allocations: 453 kB / 362 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.3906, allocations: 269.9 kB / 362.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.3908, allocations: 113.5 kB / 362.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3908, allocations: 43 kB / 362.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.434e-06/0.3908, allocations: 0 / 362.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.006917/0.3978, allocations: 3.284 MB / 365.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002262/0.4001, allocations: 2.178 MB / 367.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.4024, allocations: 1.596 MB / 369.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.4025, allocations: 37.7 kB / 369.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.4033, allocations: 1.026 MB / 370.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.4035, allocations: 240.8 kB / 370.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.4036, allocations: 36 kB / 370.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4038, allocations: 369.9 kB / 371.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.4046, allocations: 0.5114 MB / 371.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.406, allocations: 1.449 MB / 373.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.4072, allocations: 0.8048 MB / 373.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4072, allocations: 8 kB / 373.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003546/0.4108, allocations: 2.145 MB / 376.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.4108, allocations: 20 kB / 376.1 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.4109, allocations: 36 kB / 376.1 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.4114, allocations: 231.1 kB / 376.4 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4125, allocations: 391.3 kB / 376.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4142, allocations: 1.721 MB / 378.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.4158, allocations: 131.4 kB / 378.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.4159, allocations: 92 kB / 378.7 MB, free: 13.79 MB / 318.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.4171, allocations: 0.5867 MB / 379.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.4174, allocations: 154.1 kB / 379.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.4193, allocations: 1.106 MB / 380.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.4193, allocations: 12 kB / 380.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4193, allocations: 192 / 380.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.4194, allocations: 7.984 kB / 380.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/0.4246, allocations: 3.378 MB / 383.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4246, allocations: 4 kB / 383.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.425, allocations: 119.8 kB / 384 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/0.4256, allocations: 231 kB / 384.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.4257, allocations: 16 kB / 384.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.4293, allocations: 3.686 MB / 388 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001997/0.4313, allocations: 2.033 MB / 390 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.4341, allocations: 1.731 MB / 391.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.4348, allocations: 307.1 kB / 392 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4349, allocations: 19.98 kB / 392 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.4355, allocations: 48.02 kB / 392.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4356, allocations: 63.81 kB / 392.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.4357, allocations: 31.98 kB / 392.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.4374, allocations: 1.055 MB / 393.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4374, allocations: 0 / 393.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4391, allocations: 380 kB / 393.6 MB, free: 14.12 MB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002552/0.4394, allocations: 147 kB / 393.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.4417, allocations: 1.593 MB / 395.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4417, allocations: 4.438 kB / 395.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4429, allocations: 0.8359 MB / 396.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.4446, allocations: 389.6 kB / 396.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.4498, allocations: 3.695 MB / 400.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.451, allocations: 1.472 MB / 401.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001243/0.4523, allocations: 350 kB / 402.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4526, allocations: 107.4 kB / 402.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4526, allocations: 0 / 402.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of Templates: time 0.03771/0.4903, allocations: 18.83 MB / 421 MB, free: 2.426 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)