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.001042/0.001042, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001101/0.001101, allocations: 177.3 kB / 15.95 MB, free: 216 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.816/1.816, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004786/0.0004787, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009089/0.3004, allocations: 7.246 MB / 333.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.3067, allocations: 3.078 MB / 336.8 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.3078, allocations: 31.88 kB / 336.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3092, allocations: 0.5676 MB / 337.4 MB, free: 8.562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.311, allocations: 0.6348 MB / 338 MB, free: 7.926 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.3117, allocations: 223.6 kB / 338.2 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3136, allocations: 1.4 MB / 339.6 MB, free: 6.305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3149, allocations: 0.949 MB / 340.6 MB, free: 5.324 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.3157, allocations: 0.6538 MB / 341.2 MB, free: 4.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.3168, allocations: 0.8288 MB / 342.1 MB, free: 3.836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.3169, allocations: 100 kB / 342.2 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.3174, allocations: 167.9 kB / 342.3 MB, free: 3.574 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.3179, allocations: 0.4985 MB / 342.8 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.3182, allocations: 400.7 kB / 343.2 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.3206, allocations: 2.47 MB / 345.7 MB, free: 204 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.3206, allocations: 0 / 345.7 MB, free: 204 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3206, allocations: 0 / 345.7 MB, free: 204 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.3207, allocations: 0 / 345.7 MB, free: 204 kB / 270.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.003405/0.3241, allocations: 1.942 MB / 347.6 MB, free: 14.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3241, allocations: 8.031 kB / 347.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/0.3247, allocations: 233.4 kB / 347.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.3266, allocations: 1.126 MB / 349 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.648e-05/0.3267, allocations: 115.1 kB / 349.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.327, allocations: 159.9 kB / 349.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.3301, allocations: 1.977 MB / 351.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.3302, allocations: 4 kB / 351.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.3303, allocations: 60 kB / 351.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-05/0.3304, allocations: 82.86 kB / 351.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.3329, allocations: 1.639 MB / 353 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008831/0.3417, allocations: 6.944 MB / 360 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.3424, allocations: 449 kB / 360.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.3427, allocations: 117.5 kB / 360.5 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3427, allocations: 42.94 kB / 360.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=47): time 2.454e-06/0.3427, allocations: 0 / 360.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.006889/0.3496, allocations: 3.281 MB / 363.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002309/0.352, allocations: 2.213 MB / 366 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.3541, allocations: 1.58 MB / 367.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.3542, allocations: 37.7 kB / 367.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006896/0.3549, allocations: 1.026 MB / 368.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.3551, allocations: 236.8 kB / 368.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.3551, allocations: 36 kB / 369 MB, free: 8.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3553, allocations: 369.9 kB / 369.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007835/0.3561, allocations: 0.5114 MB / 369.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.3575, allocations: 1.445 MB / 371.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3586, allocations: 0.8047 MB / 372.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.3587, allocations: 12 kB / 372.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003214/0.3619, allocations: 2.138 MB / 374.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.3619, allocations: 28.05 kB / 374.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.362, allocations: 35.94 kB / 374.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.3625, allocations: 226.4 kB / 374.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3636, allocations: 391.9 kB / 374.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.3652, allocations: 1.741 MB / 376.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3664, allocations: 147.3 kB / 376.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.3665, allocations: 92 kB / 376.9 MB, free: 15.55 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.0008046/0.3673, allocations: 0.5828 MB / 377.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.3675, allocations: 154.1 kB / 377.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.3693, allocations: 1.11 MB / 378.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3693, allocations: 8.375 kB / 378.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3693, allocations: 0 / 378.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3693, allocations: 3.984 kB / 378.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00495/0.3743, allocations: 3.359 MB / 382.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3743, allocations: 8.031 kB / 382.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.3747, allocations: 111.8 kB / 382.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.3753, allocations: 234.3 kB / 382.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3754, allocations: 16 kB / 382.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.3788, allocations: 3.768 MB / 386.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001879/0.3807, allocations: 2.037 MB / 388.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.3832, allocations: 2.058 MB / 390.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.3838, allocations: 307.1 kB / 390.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.3839, allocations: 20.5 kB / 390.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.3846, allocations: 47.94 kB / 390.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3847, allocations: 71.78 kB / 390.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.3847, allocations: 23.98 kB / 390.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.3862, allocations: 1.043 MB / 391.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3862, allocations: 0 / 391.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001511/0.3877, allocations: 384 kB / 392.2 MB, free: 15.36 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.0002367/0.3879, allocations: 135 kB / 392.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.3901, allocations: 1.597 MB / 393.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3902, allocations: 0 / 393.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.3913, allocations: 0.844 MB / 394.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.3927, allocations: 381.5 kB / 395.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.3973, allocations: 3.68 MB / 398.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.3984, allocations: 1.5 MB / 400.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009763/0.3994, allocations: 354 kB / 400.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.3997, allocations: 115.4 kB / 400.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3997, allocations: 0 / 400.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of Templates: time 0.03335/0.433, allocations: 18.62 MB / 419.4 MB, free: 3.875 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: