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.001434/0.001434, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001626/0.001626, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.741/1.741, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001845/0.001845, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3025, 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_NoLoad): time 0.01239/0.315, allocations: 8.911 MB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008832/0.3239, allocations: 3.17 MB / 336.9 MB, free: 7.984 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.3266, allocations: 35.81 kB / 337 MB, free: 7.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.3294, allocations: 0.6099 MB / 337.6 MB, free: 7.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.3338, allocations: 0.6295 MB / 338.2 MB, free: 6.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3352, allocations: 279.7 kB / 338.5 MB, free: 6.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.3389, allocations: 2.105 MB / 340.6 MB, free: 4.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.341, allocations: 1.413 MB / 342 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.3431, allocations: 0.9108 MB / 342.9 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.3454, allocations: 1.148 MB / 344.1 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006371/0.3461, allocations: 235.9 kB / 344.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3472, allocations: 327.8 kB / 344.6 MB, free: 244 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009314/0.3482, allocations: 0.674 MB / 345.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.35, allocations: 1.077 MB / 346.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.3547, allocations: 3.08 MB / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3548, allocations: 0 / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3548, allocations: 4 kB / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.754e-05/0.3548, allocations: 0 / 349.4 MB, free: 11.39 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.005615/0.3604, allocations: 2.261 MB / 351.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.3605, allocations: 11.89 kB / 351.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.3613, allocations: 226.5 kB / 351.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.3634, allocations: 1.153 MB / 353.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.3635, allocations: 119.5 kB / 353.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.3637, allocations: 163.8 kB / 353.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.3676, allocations: 2 MB / 355.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/0.3677, allocations: 11.92 kB / 355.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.3678, allocations: 60 kB / 355.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3679, allocations: 74.92 kB / 355.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.3709, allocations: 1.647 MB / 357.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.3823, allocations: 6.948 MB / 364.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008326/0.3832, allocations: 437.1 kB / 364.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.3836, allocations: 266 kB / 364.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.3839, allocations: 113.5 kB / 364.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3839, allocations: 39 kB / 364.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.3839, allocations: 0 / 364.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007992/0.3919, allocations: 3.292 MB / 368.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002954/0.3949, allocations: 2.33 MB / 370.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.3978, allocations: 1.615 MB / 372.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.398, allocations: 33.7 kB / 372.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/0.3989, allocations: 1.022 MB / 373.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.3992, allocations: 236.8 kB / 373.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/0.3997, allocations: 319.1 kB / 373.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3999, allocations: 305.1 kB / 374.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008362/0.4007, allocations: 0.5192 MB / 374.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.4024, allocations: 1.468 MB / 376.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.4051, allocations: 2.138 MB / 378.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.4051, allocations: 12 kB / 378.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003716/0.4088, allocations: 2.161 MB / 380.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.4089, allocations: 20 kB / 380.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/0.4089, allocations: 32 kB / 380.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.4095, allocations: 227.2 kB / 380.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4107, allocations: 399.2 kB / 381 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4127, allocations: 1.851 MB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4142, allocations: 135.4 kB / 383 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4144, allocations: 96 kB / 383.1 MB, free: 7.762 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.001165/0.4155, allocations: 0.5905 MB / 383.7 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.4159, allocations: 162 kB / 383.9 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.4179, allocations: 1.106 MB / 385 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.418, allocations: 4 kB / 385 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.418, allocations: 4 kB / 385 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.418, allocations: 7.984 kB / 385 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.4238, allocations: 3.378 MB / 388.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4238, allocations: 4 kB / 388.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.4243, allocations: 112.5 kB / 388.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/0.4249, allocations: 226.3 kB / 388.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.425, allocations: 27.98 kB / 388.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.4294, allocations: 4.061 MB / 392.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002204/0.4316, allocations: 2.173 MB / 395 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.4347, allocations: 1.75 MB / 396.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/0.4354, allocations: 307.1 kB / 397 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.4356, allocations: 23.94 kB / 397 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.4363, allocations: 47.94 kB / 397.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4364, allocations: 59.88 kB / 397.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.4365, allocations: 31.92 kB / 397.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.4381, allocations: 1.07 MB / 398.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4381, allocations: 0 / 398.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001684/0.4398, allocations: 384 kB / 398.6 MB, free: 7.52 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.0003567/0.4402, allocations: 171 kB / 398.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.4429, allocations: 1.711 MB / 400.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.4429, allocations: 0 / 400.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4442, allocations: 0.8517 MB / 401.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.4463, allocations: 413.5 kB / 401.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.452, allocations: 3.842 MB / 405.6 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.4532, allocations: 1.472 MB / 407.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.4545, allocations: 346 kB / 407.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.4547, allocations: 115.4 kB / 407.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4547, allocations: 3.938 kB / 407.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Templates: time 0.03868/0.4934, allocations: 20.41 MB / 427.9 MB, free: 9.918 MB / 366.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)