Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001671/0.001671, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.01392/0.01392, allocations: 171.5 kB / 16.26 MB, free: 6.68 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.834/1.834, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004207/0.0004208, allocations: 14.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.011/0.2933, allocations: 8.416 MB / 335.5 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.3008, allocations: 3.139 MB / 338.6 MB, free: 7.797 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.3032, allocations: 35.81 kB / 338.6 MB, free: 7.762 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3055, allocations: 0.5944 MB / 339.2 MB, free: 7.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.3081, allocations: 0.6334 MB / 339.9 MB, free: 6.527 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.3089, allocations: 287.6 kB / 340.1 MB, free: 6.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.3121, allocations: 2.433 MB / 342.6 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.3139, allocations: 1.164 MB / 343.7 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3157, allocations: 0.7117 MB / 344.4 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.3173, allocations: 0.988 MB / 345.4 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.3175, allocations: 104 kB / 345.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.3181, allocations: 211.7 kB / 345.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.3187, allocations: 0.5294 MB / 346.3 MB, free: 52 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.3201, allocations: 0.9382 MB / 347.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.3231, allocations: 2.919 MB / 350.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3232, allocations: 4 kB / 350.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.3232, allocations: 0 / 350.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.115e-05/0.3232, allocations: 0 / 350.1 MB, free: 12.17 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.004105/0.3274, allocations: 1.927 MB / 352.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3274, allocations: 8.031 kB / 352.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.3281, allocations: 230.4 kB / 352.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.33, allocations: 1.149 MB / 353.4 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3302, allocations: 115.5 kB / 353.6 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.3304, allocations: 155.9 kB / 353.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.3339, allocations: 2.004 MB / 355.7 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.3339, allocations: 7.906 kB / 355.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.3341, allocations: 60 kB / 355.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.164e-05/0.3342, allocations: 74.92 kB / 355.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.3371, allocations: 1.655 MB / 357.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.3483, allocations: 6.967 MB / 364.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.3491, allocations: 444.6 kB / 364.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.3496, allocations: 266 kB / 365.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.3499, allocations: 113.5 kB / 365.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.3499, allocations: 35.47 kB / 365.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/0.35, allocations: 7.922 kB / 365.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.008314/0.3583, allocations: 3.3 MB / 368.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002845/0.3612, allocations: 2.167 MB / 370.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.3639, allocations: 1.615 MB / 372.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.364, allocations: 41.7 kB / 372.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.365, allocations: 1.018 MB / 373.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.3653, allocations: 240.8 kB / 373.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.3656, allocations: 129.6 kB / 373.8 MB, free: 3.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3658, allocations: 305.1 kB / 374.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008589/0.3667, allocations: 0.5153 MB / 374.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.3688, allocations: 1.457 MB / 376.1 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.3719, allocations: 2.141 MB / 378.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.3719, allocations: 12 kB / 378.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004222/0.3761, allocations: 2.161 MB / 380.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.3762, allocations: 20 kB / 380.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.3762, allocations: 32 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.3768, allocations: 234.3 kB / 380.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.378, allocations: 391.6 kB / 381.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.3798, allocations: 1.721 MB / 382.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.3813, allocations: 135.5 kB / 382.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3814, allocations: 95.98 kB / 383 MB, free: 9.344 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 (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.001044/0.3825, allocations: 0.5867 MB / 383.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.3828, allocations: 158 kB / 383.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.3848, allocations: 1.118 MB / 384.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.3848, allocations: 11.94 kB / 384.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3848, allocations: 0 / 384.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3848, allocations: 3.984 kB / 384.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/0.3903, allocations: 3.386 MB / 388.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3903, allocations: 4 kB / 388.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3908, allocations: 107.8 kB / 388.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.3914, allocations: 234.8 kB / 388.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.3915, allocations: 19.98 kB / 388.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.3952, allocations: 3.701 MB / 392.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00199/0.3972, allocations: 2.014 MB / 394.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4001, allocations: 1.742 MB / 396.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.4009, allocations: 307.1 kB / 396.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4011, allocations: 20 kB / 396.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.4017, allocations: 51.94 kB / 396.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.4019, allocations: 67.8 kB / 396.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.4019, allocations: 20 kB / 396.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.4037, allocations: 1.074 MB / 397.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4037, allocations: 0 / 397.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001852/0.4056, allocations: 384 kB / 398 MB, free: 9.633 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 (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.0003746/0.4059, allocations: 171.1 kB / 398.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.4087, allocations: 1.605 MB / 399.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4087, allocations: 448 / 399.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.4101, allocations: 0.8477 MB / 400.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.4131, allocations: 385.5 kB / 401 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.4188, allocations: 3.898 MB / 404.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.42, allocations: 1.469 MB / 406.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.4211, allocations: 346 kB / 406.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.4214, allocations: 115.4 kB / 406.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4214, allocations: 0 / 406.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of Templates: time 0.03862/0.4601, allocations: 19.35 MB / 426.2 MB, free: 13.19 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)