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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001526/0.001525, allocations: 191.8 kB / 16.13 MB, free: 6.676 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.581/1.581, allocations: 205.1 MB / 222 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.002699/0.002699, allocations: 51.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2828, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01143/0.2943, allocations: 8.91 MB / 333.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.3015, allocations: 3.182 MB / 336.8 MB, free: 8.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.3035, allocations: 35.81 kB / 336.8 MB, free: 7.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.3057, allocations: 0.6022 MB / 337.4 MB, free: 7.387 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.3082, allocations: 0.6294 MB / 338 MB, free: 6.754 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.3089, allocations: 291.7 kB / 338.3 MB, free: 6.469 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.3116, allocations: 2.429 MB / 340.8 MB, free: 4.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.313, allocations: 1.168 MB / 341.9 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3141, allocations: 0.8015 MB / 342.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.3153, allocations: 1.09 MB / 343.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.3155, allocations: 140 kB / 344 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.316, allocations: 243.8 kB / 344.2 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.3166, allocations: 0.5919 MB / 344.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.3176, allocations: 0.9834 MB / 345.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.32, allocations: 3.006 MB / 348.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.32, allocations: 3.938 kB / 348.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.32, allocations: 0 / 348.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.32, allocations: 0 / 348.8 MB, free: 11.95 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.003978/0.324, allocations: 2.261 MB / 351 MB, free: 9.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3241, allocations: 19.97 kB / 351.1 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006043/0.3247, allocations: 226.5 kB / 351.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3264, allocations: 1.145 MB / 352.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.3266, allocations: 111.5 kB / 352.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.3268, allocations: 163.8 kB / 352.7 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.3299, allocations: 2.004 MB / 354.7 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.33, allocations: 4 kB / 354.7 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.3301, allocations: 68 kB / 354.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/0.3302, allocations: 78.91 kB / 354.8 MB, free: 5.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.3328, allocations: 1.643 MB / 356.5 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009052/0.3418, allocations: 6.944 MB / 363.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.3426, allocations: 452.5 kB / 363.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.343, allocations: 258.6 kB / 364.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.3432, allocations: 113.5 kB / 364.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3433, allocations: 42.92 kB / 364.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.925e-06/0.3433, allocations: 0 / 364.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007044/0.3503, allocations: 3.28 MB / 367.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002394/0.3527, allocations: 2.174 MB / 369.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.3551, allocations: 1.615 MB / 371.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.3552, allocations: 37.7 kB / 371.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.356, allocations: 1.018 MB / 372.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.3562, allocations: 232.8 kB / 372.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.3566, allocations: 327.1 kB / 372.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.3567, allocations: 305.1 kB / 373.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/0.3575, allocations: 0.5114 MB / 373.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3589, allocations: 1.469 MB / 375.2 MB, free: 188 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.3613, allocations: 2.141 MB / 377.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.3613, allocations: 8 kB / 377.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003363/0.3647, allocations: 2.161 MB / 379.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.3647, allocations: 16 kB / 379.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.3648, allocations: 36 kB / 379.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.3653, allocations: 235 kB / 379.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.3663, allocations: 391.3 kB / 380.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3678, allocations: 1.714 MB / 381.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3692, allocations: 139.4 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3693, allocations: 92 kB / 382.1 MB, free: 8.637 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.0009106/0.3703, allocations: 0.595 MB / 382.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.3705, allocations: 154.1 kB / 382.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.3723, allocations: 1.121 MB / 384 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3723, allocations: 11.94 kB / 384 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3723, allocations: 0 / 384 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3723, allocations: 3.984 kB / 384 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.3779, allocations: 3.383 MB / 387.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3779, allocations: 8.031 kB / 387.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.3783, allocations: 115.8 kB / 387.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.379, allocations: 222.4 kB / 387.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.379, allocations: 16 kB / 387.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.3832, allocations: 3.717 MB / 391.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002173/0.3853, allocations: 2.022 MB / 393.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.3881, allocations: 1.738 MB / 395.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.3887, allocations: 303.1 kB / 395.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3889, allocations: 23.98 kB / 395.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.3896, allocations: 47.89 kB / 395.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3897, allocations: 63.86 kB / 395.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3898, allocations: 24 kB / 395.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.3915, allocations: 1.074 MB / 396.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3915, allocations: 0 / 396.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001631/0.3932, allocations: 384 kB / 397.1 MB, free: 8.914 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.000323/0.3935, allocations: 167 kB / 397.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.3961, allocations: 1.601 MB / 398.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3961, allocations: 4.438 kB / 398.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.3974, allocations: 0.8438 MB / 399.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.3993, allocations: 397.4 kB / 400.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.4047, allocations: 3.84 MB / 404 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.4058, allocations: 1.476 MB / 405.5 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.4069, allocations: 350 kB / 405.8 MB, free: 0 / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.4072, allocations: 115.4 kB / 405.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4072, allocations: 0 / 405.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.03804/0.4452, allocations: 19.56 MB / 425.5 MB, free: 12.3 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)