Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001137/0.001137, allocations: 93.38 kB / 16.31 MB, free: 5.582 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.001308/0.001308, allocations: 181.2 kB / 17.21 MB, free: 5.5 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.754/1.754, allocations: 205.4 MB / 223.4 MB, free: 5.234 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.0004576/0.0004576, allocations: 8 kB / 280.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009206/0.2682, allocations: 7.923 MB / 335.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.2739, allocations: 3.003 MB / 338.7 MB, free: 8.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.2747, allocations: 35.81 kB / 338.7 MB, free: 8.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.276, allocations: 0.5399 MB / 339.2 MB, free: 7.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.2775, allocations: 0.5943 MB / 339.8 MB, free: 7.344 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.2781, allocations: 207.7 kB / 340 MB, free: 7.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.2802, allocations: 2.171 MB / 342.2 MB, free: 4.961 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.2814, allocations: 0.9568 MB / 343.2 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.2823, allocations: 0.7041 MB / 343.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.2834, allocations: 0.9573 MB / 344.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.2836, allocations: 104 kB / 344.9 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.284, allocations: 163.9 kB / 345.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.2846, allocations: 0.5374 MB / 345.6 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.2849, allocations: 396.7 kB / 346 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.2871, allocations: 2.493 MB / 348.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2871, allocations: 4 kB / 348.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2871, allocations: 0 / 348.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.2871, allocations: 0 / 348.5 MB, free: 14.61 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.00328/0.2904, allocations: 1.95 MB / 350.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2905, allocations: 8.031 kB / 350.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.291, allocations: 233.3 kB / 350.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.2927, allocations: 1.11 MB / 351.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.2928, allocations: 115.1 kB / 351.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.293, allocations: 152 kB / 352.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.2962, allocations: 1.989 MB / 354.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.2962, allocations: 11.84 kB / 354.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.2964, allocations: 60 kB / 354.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.457e-05/0.2965, allocations: 82.91 kB / 354.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.299, allocations: 1.639 MB / 355.9 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009265/0.3083, allocations: 6.968 MB / 362.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.3092, allocations: 449 kB / 363.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.3096, allocations: 258 kB / 363.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.3098, allocations: 117.5 kB / 363.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3099, allocations: 31 kB / 363.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.925e-06/0.3099, allocations: 0 / 363.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.006664/0.3165, allocations: 3.292 MB / 366.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002205/0.3188, allocations: 2.17 MB / 369.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.3209, allocations: 1.608 MB / 370.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.321, allocations: 33.7 kB / 370.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.3217, allocations: 1.022 MB / 371.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3219, allocations: 236.8 kB / 372 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.3219, allocations: 32 kB / 372 MB, free: 6.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3221, allocations: 369.9 kB / 372.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.3228, allocations: 0.5114 MB / 372.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3243, allocations: 1.461 MB / 374.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3253, allocations: 0.793 MB / 375.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.3254, allocations: 12 kB / 375.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003272/0.3286, allocations: 2.15 MB / 377.3 MB, free: 488 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3287, allocations: 20 kB / 377.3 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.3287, allocations: 32 kB / 377.4 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.3293, allocations: 230.5 kB / 377.6 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.3304, allocations: 395.4 kB / 378 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.332, allocations: 1.71 MB / 379.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.3333, allocations: 139.4 kB / 379.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.3334, allocations: 104 kB / 379.9 MB, free: 13.71 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.0009332/0.3344, allocations: 0.5789 MB / 380.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.3346, allocations: 154.1 kB / 380.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.3365, allocations: 1.117 MB / 381.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3365, allocations: 4 kB / 381.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3365, allocations: 4 kB / 381.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3365, allocations: 3.984 kB / 381.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.3416, allocations: 3.383 MB / 385.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.3417, allocations: 4 kB / 385.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3421, allocations: 115.8 kB / 385.3 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/0.3427, allocations: 222.4 kB / 385.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.3428, allocations: 24.23 kB / 385.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.3465, allocations: 3.69 MB / 389.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001978/0.3484, allocations: 2.021 MB / 391.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.351, allocations: 1.735 MB / 393 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.3516, allocations: 311.1 kB / 393.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3518, allocations: 16 kB / 393.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.3524, allocations: 51.94 kB / 393.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3525, allocations: 63.88 kB / 393.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.3526, allocations: 24 kB / 393.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.3541, allocations: 1.055 MB / 394.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3541, allocations: 0 / 394.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001672/0.3558, allocations: 384 kB / 394.9 MB, free: 14.05 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.0002594/0.3561, allocations: 139 kB / 395 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.3585, allocations: 1.601 MB / 396.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3585, allocations: 0 / 396.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3597, allocations: 0.848 MB / 397.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.3615, allocations: 389.7 kB / 397.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.3664, allocations: 3.687 MB / 401.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.3676, allocations: 1.465 MB / 403 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3687, allocations: 354 kB / 403.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.369, allocations: 115.4 kB / 403.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of SimCode: time 7.82e-07/0.369, allocations: 3.938 kB / 403.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Templates: time 0.03583/0.4049, allocations: 18.82 MB / 422.3 MB, free: 2.367 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)